pub struct RouterStopError(/* private fields */);Expand description
Failures retained from one settled router shutdown attempt.
Clones share the original errors. Repeated stop calls replay this report; they do not retry failed cleanup. Errors mean cleanup attempts settled, but do not guarantee that every external resource was released.
Implementations§
Source§impl RouterStopError
impl RouterStopError
Sourcepub fn failures(&self) -> &[RouterStopFailure]
pub fn failures(&self) -> &[RouterStopFailure]
All failures. Transport owners are joined in configured-port order.
Trait Implementations§
Source§impl Clone for RouterStopError
impl Clone for RouterStopError
Source§impl Debug for RouterStopError
impl Debug for RouterStopError
Source§impl Display for RouterStopError
impl Display for RouterStopError
Source§impl Error for RouterStopError
impl Error for RouterStopError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for RouterStopError
impl !UnwindSafe for RouterStopError
impl Freeze for RouterStopError
impl Send for RouterStopError
impl Sync for RouterStopError
impl Unpin for RouterStopError
impl UnsafeUnpin for RouterStopError
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