pub struct ProtocolError(pub u16);Tuple Fields§
§0: u16Implementations§
Source§impl ProtocolError
impl ProtocolError
pub const RESERVED: Self
pub const SSE_NO_SPACE: Self
pub const SSE_DESER_FAILED: Self
pub const SSE_TYPE_MISMATCH: Self
pub const SSE_WHAT_THE_HELL: Self
pub const ISE_DESTINATION_LOCAL: Self
pub const ISE_NO_ROUTE_TO_DEST: Self
pub const ISE_INTERFACE_FULL: Self
pub const ISE_INTERNAL_ERROR: Self
pub const ISE_ANY_PORT_MISSING_KEY: Self
pub const ISE_TTL_EXPIRED: Self
pub const ISE_ROUTING_LOOP: Self
pub const NSSE_NO_ROUTE: Self
pub const NSSE_ANY_PORT_MISSING_KEY: Self
pub const NSSE_WRONG_PORT_KIND: Self
pub const NSSE_ANY_PORT_NOT_UNIQUE: Self
pub const NSSE_ALL_PORT_MISSING_KEY: Self
pub const NSSE_WOULD_DEADLOCK: Self
Trait Implementations§
Source§impl Clone for ProtocolError
impl Clone for ProtocolError
Source§fn clone(&self) -> ProtocolError
fn clone(&self) -> ProtocolError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProtocolError
impl Debug for ProtocolError
Source§impl<'de> Deserialize<'de> for ProtocolError
impl<'de> Deserialize<'de> for ProtocolError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProtocolError
impl PartialEq for ProtocolError
Source§impl Serialize for ProtocolError
impl Serialize for ProtocolError
impl Copy for ProtocolError
impl StructuralPartialEq for ProtocolError
Auto Trait Implementations§
impl Freeze for ProtocolError
impl RefUnwindSafe for ProtocolError
impl Send for ProtocolError
impl Sync for ProtocolError
impl Unpin for ProtocolError
impl UnwindSafe for ProtocolError
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