#[repr(u8)]pub enum FrameType {
HandshakeInit = 1,
HandshakeResp = 2,
Data = 3,
Rekey = 4,
Close = 5,
}Available on crate feature
transport only.Expand description
Frame type identifiers from 0-PROTOCOL.md.
Variants§
HandshakeInit = 1
Handshake initiation (Noise_IK first message).
HandshakeResp = 2
Handshake response (Noise_IK second message).
Data = 3
Encrypted data frame.
Rekey = 4
Rekey request/response.
Close = 5
Graceful connection close.
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 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