#[repr(u8)]pub enum FrameType {
Handshake = 1,
Data = 2,
RouteUpdate = 3,
Heartbeat = 4,
Control = 5,
Fragment = 6,
}Expand description
Identifies the type of payload inside a TransportFrame.
Variants§
Handshake = 1
Authenticated handshake message.
Data = 2
Mesh data payload.
RouteUpdate = 3
Route advertisement payload.
Heartbeat = 4
Periodic heartbeat payload.
Control = 5
Control-plane request or response payload.
Fragment = 6
Packet fragment payload.
Implementations§
Trait Implementations§
impl Copy for FrameType
impl Eq for FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnsafeUnpin for FrameType
impl UnwindSafe for FrameType
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