#[repr(u16)]pub enum TransportReasonTag {
FrameTooLarge = 1,
DecodeFailed = 2,
UnsupportedVersion = 3,
AuthenticationFailed = 4,
ParticipantCapabilityRequired = 5,
}Expand description
Transport rejection union tag.
Variants§
FrameTooLarge = 1
Complete frame exceeds the active bound.
DecodeFailed = 2
Structural participant decode failed.
UnsupportedVersion = 3
Participant version is unsupported.
AuthenticationFailed = 4
Connection authentication failed.
ParticipantCapabilityRequired = 5
Participant capability was not negotiated.
Implementations§
Source§impl TransportReasonTag
impl TransportReasonTag
Sourcepub const fn wire_value(self) -> u16
pub const fn wire_value(self) -> u16
Returns the stable v1 wire value.
Trait Implementations§
Source§impl Clone for TransportReasonTag
impl Clone for TransportReasonTag
Source§fn clone(&self) -> TransportReasonTag
fn clone(&self) -> TransportReasonTag
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 moreimpl Copy for TransportReasonTag
Source§impl Debug for TransportReasonTag
impl Debug for TransportReasonTag
impl Eq for TransportReasonTag
Source§impl From<TransportReasonTag> for u16
impl From<TransportReasonTag> for u16
Source§fn from(value: TransportReasonTag) -> Self
fn from(value: TransportReasonTag) -> Self
Converts to this type from the input type.
Source§impl Hash for TransportReasonTag
impl Hash for TransportReasonTag
Source§impl PartialEq for TransportReasonTag
impl PartialEq for TransportReasonTag
impl StructuralPartialEq for TransportReasonTag
Auto Trait Implementations§
impl Freeze for TransportReasonTag
impl RefUnwindSafe for TransportReasonTag
impl Send for TransportReasonTag
impl Sync for TransportReasonTag
impl Unpin for TransportReasonTag
impl UnsafeUnpin for TransportReasonTag
impl UnwindSafe for TransportReasonTag
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