pub enum FirstBitExpectation {
Zero,
One,
}Expand description
A priori knowledge about the first expected bit of a telegram
It is needed for correct decoding if the datagram length is unknown
Variants
Zero
One
Auto Trait Implementations
impl RefUnwindSafe for FirstBitExpectation
impl Send for FirstBitExpectation
impl Sync for FirstBitExpectation
impl Unpin for FirstBitExpectation
impl UnwindSafe for FirstBitExpectation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more