pub struct EstResponse {
pub payload: Vec<u8>,
pub content_format: u16,
pub audit_event: Option<AuditInfo>,
}Expand description
Structured response from an EST handler.
Combines the CoAP response payload, content-format, and optional audit metadata in a single return value.
Fields§
§payload: Vec<u8>DER-encoded response payload.
content_format: u16CoAP Content-Format ID for the response.
audit_event: Option<AuditInfo>Optional audit event to record asynchronously.
Trait Implementations§
Source§impl Clone for EstResponse
impl Clone for EstResponse
Source§fn clone(&self) -> EstResponse
fn clone(&self) -> EstResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EstResponse
impl RefUnwindSafe for EstResponse
impl Send for EstResponse
impl Sync for EstResponse
impl Unpin for EstResponse
impl UnsafeUnpin for EstResponse
impl UnwindSafe for EstResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more