pub struct StopErrors(/* private fields */);Expand description
Aggregate of errors collected during Client::stop.
Client::stop performs cooperative shutdown across every active
session before killing the CLI child process. Errors from any
per-session session.destroy RPC and from the terminal child-kill
step are collected here rather than short-circuiting on the first
failure, so callers see the full picture of what went wrong during
teardown.
Implements std::error::Error and forwards to Display for the
first error, with a count suffix when there are more.
Implementations§
Source§impl StopErrors
impl StopErrors
Trait Implementations§
Source§impl Debug for StopErrors
impl Debug for StopErrors
Source§impl Display for StopErrors
impl Display for StopErrors
Source§impl Error for StopErrors
impl Error for StopErrors
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 Freeze for StopErrors
impl !RefUnwindSafe for StopErrors
impl Send for StopErrors
impl Sync for StopErrors
impl Unpin for StopErrors
impl UnsafeUnpin for StopErrors
impl !UnwindSafe for StopErrors
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