pub struct V2ipDecoderState(/* private fields */);Expand description
The health state of a V2IP decoder.
Implementations§
Source§impl V2ipDecoderState
impl V2ipDecoderState
Sourcepub const STARTING: Self
pub const STARTING: Self
Still coming up, which any sink subscribed to during a route change reports.
Sourcepub const fn from_wire(value: u8) -> Self
pub const fn from_wire(value: u8) -> Self
Wraps a raw wire value, including one this library has no name for.
Sourcepub const fn is_settled(self) -> bool
pub const fn is_settled(self) -> bool
Reports whether the decoder has reached a verdict.
Only healthy and bad are verdicts. Testing for failure as “not healthy” reads a receiver that is merely coming up as one that failed to decode, which is what a sink reports for a moment after every route change.
Trait Implementations§
Source§impl Clone for V2ipDecoderState
impl Clone for V2ipDecoderState
Source§fn clone(&self) -> V2ipDecoderState
fn clone(&self) -> V2ipDecoderState
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 moreimpl Copy for V2ipDecoderState
Source§impl Debug for V2ipDecoderState
impl Debug for V2ipDecoderState
Source§impl Default for V2ipDecoderState
impl Default for V2ipDecoderState
Source§fn default() -> V2ipDecoderState
fn default() -> V2ipDecoderState
Returns the “default value” for a type. Read more
Source§impl Display for V2ipDecoderState
impl Display for V2ipDecoderState
impl Eq for V2ipDecoderState
Source§impl Hash for V2ipDecoderState
impl Hash for V2ipDecoderState
Source§impl Ord for V2ipDecoderState
impl Ord for V2ipDecoderState
Source§fn cmp(&self, other: &V2ipDecoderState) -> Ordering
fn cmp(&self, other: &V2ipDecoderState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for V2ipDecoderState
impl PartialEq for V2ipDecoderState
Source§impl PartialOrd for V2ipDecoderState
impl PartialOrd for V2ipDecoderState
impl StructuralPartialEq for V2ipDecoderState
Auto Trait Implementations§
impl Freeze for V2ipDecoderState
impl RefUnwindSafe for V2ipDecoderState
impl Send for V2ipDecoderState
impl Sync for V2ipDecoderState
impl Unpin for V2ipDecoderState
impl UnsafeUnpin for V2ipDecoderState
impl UnwindSafe for V2ipDecoderState
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