Enum penguin_mux::StreamFlag
source · #[repr(u8)]pub enum StreamFlag {
Syn = 0,
SynAck = 1,
Ack = 2,
Rst = 3,
Fin = 4,
Psh = 5,
}
Expand description
Stream frame types
Variants§
Syn = 0
Initiating connection by the client.
SynAck = 1
Confirming connection by the server.
Ack = 2
Confirming data reception.
Rst = 3
Aborting connection when dport
does not exist.
Fin = 4
Closing connection.
Psh = 5
Sending data.
Trait Implementations§
source§impl Clone for StreamFlag
impl Clone for StreamFlag
source§fn clone(&self) -> StreamFlag
fn clone(&self) -> StreamFlag
Returns a copy 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 StreamFlag
impl Debug for StreamFlag
source§impl PartialEq for StreamFlag
impl PartialEq for StreamFlag
source§fn eq(&self, other: &StreamFlag) -> bool
fn eq(&self, other: &StreamFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StreamFlag
impl Eq for StreamFlag
impl StructuralEq for StreamFlag
impl StructuralPartialEq for StreamFlag
Auto Trait Implementations§
impl RefUnwindSafe for StreamFlag
impl Send for StreamFlag
impl Sync for StreamFlag
impl Unpin for StreamFlag
impl UnwindSafe for StreamFlag
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