pub enum TimeoutSinkCloseError {
Busy {
pools: usize,
writers: usize,
},
ThreadPanicked,
}Expand description
Failure to finish an explicitly enrolled diagnostic sink shutdown.
Variants§
Busy
Another pool or a writer task still owns the shared sink.
ThreadPanicked
The writer exited by unwinding instead of draining normally.
Trait Implementations§
Source§impl Clone for TimeoutSinkCloseError
impl Clone for TimeoutSinkCloseError
Source§impl Debug for TimeoutSinkCloseError
impl Debug for TimeoutSinkCloseError
Source§impl Display for TimeoutSinkCloseError
impl Display for TimeoutSinkCloseError
impl Eq for TimeoutSinkCloseError
Source§impl Error for TimeoutSinkCloseError
impl Error for TimeoutSinkCloseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TimeoutSinkCloseError
impl PartialEq for TimeoutSinkCloseError
impl StructuralPartialEq for TimeoutSinkCloseError
Auto Trait Implementations§
impl Forget for TimeoutSinkCloseError
impl Freeze for TimeoutSinkCloseError
impl RefUnwindSafe for TimeoutSinkCloseError
impl Send for TimeoutSinkCloseError
impl Sync for TimeoutSinkCloseError
impl Unpin for TimeoutSinkCloseError
impl UnsafeUnpin for TimeoutSinkCloseError
impl UnwindSafe for TimeoutSinkCloseError
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