[][src]Struct condure::connection::MessageTracker

pub struct MessageTracker { /* fields omitted */ }

Implementations

impl MessageTracker[src]

pub fn new(max_messages: usize) -> Self[src]

pub fn clear(&mut self)[src]

pub fn in_progress(&self) -> bool[src]

pub fn start(&mut self, mtype: u8) -> Result<(), ()>[src]

pub fn extend(&mut self, amt: usize)[src]

pub fn done(&mut self)[src]

pub fn current(&self) -> Option<(u8, usize, bool)>[src]

pub fn consumed(&mut self, amt: usize, done: bool)[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.