#[repr(u8)]pub enum FlowUpdateReason {
Grant = 0,
Reduce = 1,
Pause = 2,
Resume = 3,
Congestion = 4,
}Variants§
Implementations§
Source§impl FlowUpdateReason
impl FlowUpdateReason
pub fn try_from_u8(value: u8) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for FlowUpdateReason
impl Clone for FlowUpdateReason
Source§fn clone(&self) -> FlowUpdateReason
fn clone(&self) -> FlowUpdateReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FlowUpdateReason
impl Debug for FlowUpdateReason
Source§impl PartialEq for FlowUpdateReason
impl PartialEq for FlowUpdateReason
Source§fn eq(&self, other: &FlowUpdateReason) -> bool
fn eq(&self, other: &FlowUpdateReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FlowUpdateReason
impl Eq for FlowUpdateReason
impl StructuralPartialEq for FlowUpdateReason
Auto Trait Implementations§
impl Freeze for FlowUpdateReason
impl RefUnwindSafe for FlowUpdateReason
impl Send for FlowUpdateReason
impl Sync for FlowUpdateReason
impl Unpin for FlowUpdateReason
impl UnsafeUnpin for FlowUpdateReason
impl UnwindSafe for FlowUpdateReason
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