pub struct ShutdownError {
pub shutdown_requested_succesfully: bool,
pub shutdown_succesfully: bool,
}
Expand description
The error type for a shutdown attemp.
Fields§
§shutdown_requested_succesfully: bool
Indicates if the request was successfully transmitted.
shutdown_succesfully: bool
Indicates if the shutdown was successful.
Trait Implementations§
Source§impl Clone for ShutdownError
impl Clone for ShutdownError
Source§fn clone(&self) -> ShutdownError
fn clone(&self) -> ShutdownError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ShutdownError
impl Debug for ShutdownError
Source§impl PartialEq for ShutdownError
impl PartialEq for ShutdownError
impl Copy for ShutdownError
impl StructuralPartialEq for ShutdownError
Auto Trait Implementations§
impl Freeze for ShutdownError
impl RefUnwindSafe for ShutdownError
impl Send for ShutdownError
impl Sync for ShutdownError
impl Unpin for ShutdownError
impl UnwindSafe for ShutdownError
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