Enum penguin_mux::Frame
source · #[repr(C)]pub enum Frame {
Stream(StreamFrame),
Datagram(DatagramFrame),
}
Expand description
Frame.
See PROTOCOL.md for details.
Variants§
Stream(StreamFrame)
Stream frame, encoded with Type=0x01
Datagram(DatagramFrame)
Datagram frame, encoded with Type=0x03
Trait Implementations§
source§impl PartialEq for Frame
impl PartialEq for Frame
impl Eq for Frame
impl StructuralEq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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