pub struct Discard { /* private fields */ }Implementations§
Trait Implementations§
Source§impl TryFrom<Message> for Discard
impl TryFrom<Message> for Discard
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(message: Message) -> ConversionResult<Self>
fn try_from(message: Message) -> ConversionResult<Self>
Performs the conversion.
impl Eq for Discard
impl StructuralPartialEq for Discard
Auto Trait Implementations§
impl Freeze for Discard
impl RefUnwindSafe for Discard
impl Send for Discard
impl Sync for Discard
impl Unpin for Discard
impl UnwindSafe for Discard
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