#[non_exhaustive]pub enum SendToChannelErrorDropped {
Record(Box<RecordOwned>),
Flush,
}
Available on crate feature
multi-thread
only.Expand description
Contains data that is dropped after sending to the channel failed.
You can handle them manually or just ignore them.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Record(Box<RecordOwned>)
A log
operation and a record are dropped.
Flush
A flush
operation is dropped.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SendToChannelErrorDropped
impl RefUnwindSafe for SendToChannelErrorDropped
impl Send for SendToChannelErrorDropped
impl Sync for SendToChannelErrorDropped
impl Unpin for SendToChannelErrorDropped
impl UnwindSafe for SendToChannelErrorDropped
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