Enum smoltcp::wire::TcpControl
[−]
[src]
pub enum TcpControl { None, Psh, Syn, Fin, Rst, }
The possible control flags of a Transmission Control Protocol packet.
Variants
None
Psh
Syn
Fin
Rst
Methods
impl Control
[src]
fn len(self) -> usize
[src]
Return the length of a control flag, in terms of sequence space.
fn quash_psh(self) -> Control
[src]
Turn the PSH flag into no flag, and keep the rest as-is.
Trait Implementations
impl Debug for Control
[src]
impl PartialEq for Control
[src]
fn eq(&self, __arg_0: &Control) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for Control
[src]
impl Clone for Control
[src]
fn clone(&self) -> Control
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more