pub enum Fit {
Matches,
InputMustChange,
Incompatible,
}Expand description
How a talker’s stream fits a listener’s stream input.
Variants§
Matches
The input’s current format is the talker’s.
InputMustChange
The input supports the talker’s format but is set to another.
Incompatible
The input does not support the talker’s format.
Trait Implementations§
impl Copy for Fit
impl Eq for Fit
impl StructuralPartialEq for Fit
Auto Trait Implementations§
impl Forget for Fit
impl Freeze for Fit
impl Move for Fit
impl RefUnwindSafe for Fit
impl Send for Fit
impl Sync for Fit
impl Unpin for Fit
impl UnsafeUnpin for Fit
impl UnwindSafe for Fit
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