#[repr(u8)]pub enum FlowControlState {
Continues = 0,
Wait = 1,
Overload = 2,
}Expand description
Flow control type define.
Variants§
Trait Implementations§
Source§impl Clone for FlowControlState
impl Clone for FlowControlState
Source§fn clone(&self) -> FlowControlState
fn clone(&self) -> FlowControlState
Returns a duplicate 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 FlowControlState
impl Debug for FlowControlState
Source§impl Default for FlowControlState
impl Default for FlowControlState
Source§fn default() -> FlowControlState
fn default() -> FlowControlState
Returns the “default value” for a type. Read more
Source§impl From<FlowControlState> for u8
impl From<FlowControlState> for u8
Source§fn from(val: FlowControlState) -> Self
fn from(val: FlowControlState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FlowControlState
impl PartialEq for FlowControlState
Source§impl TryFrom<u8> for FlowControlState
impl TryFrom<u8> for FlowControlState
impl Copy for FlowControlState
impl Eq for FlowControlState
impl StructuralPartialEq for FlowControlState
Auto Trait Implementations§
impl Freeze for FlowControlState
impl RefUnwindSafe for FlowControlState
impl Send for FlowControlState
impl Sync for FlowControlState
impl Unpin for FlowControlState
impl UnwindSafe for FlowControlState
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