Struct zenoh_protocol::zenoh::err::Err
source · pub struct Err {
pub code: u16,
pub is_infrastructure: bool,
pub timestamp: Option<Timestamp>,
pub ext_sinfo: Option<SourceInfoType>,
pub ext_body: Option<ErrBodyType>,
pub ext_unknown: Vec<ZExtUnknown>,
}Fields§
§code: u16§is_infrastructure: bool§timestamp: Option<Timestamp>§ext_sinfo: Option<SourceInfoType>§ext_body: Option<ErrBodyType>§ext_unknown: Vec<ZExtUnknown>Trait Implementations§
source§impl From<Err> for ResponseBody
impl From<Err> for ResponseBody
source§fn from(r: Err) -> ResponseBody
fn from(r: Err) -> ResponseBody
Converts to this type from the input type.
impl Eq for Err
impl StructuralPartialEq for Err
Auto Trait Implementations§
impl Freeze for Err
impl !RefUnwindSafe for Err
impl Send for Err
impl Sync for Err
impl Unpin for Err
impl !UnwindSafe for Err
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