pub enum RouterStopFailure {
Transport {
network_number: u16,
error: Error,
},
Worker {
network_number: Option<u16>,
worker: &'static str,
detail: String,
},
}Expand description
One failure from the router’s single shutdown attempt.
Variants§
Transport
A transport returned its original cleanup error.
Fields
Worker
A worker panicked or its owner disappeared unexpectedly.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RouterStopFailure
impl !UnwindSafe for RouterStopFailure
impl Freeze for RouterStopFailure
impl Send for RouterStopFailure
impl Sync for RouterStopFailure
impl Unpin for RouterStopFailure
impl UnsafeUnpin for RouterStopFailure
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