Struct tokio_shutdown::AlreadyCreatedError
source · pub struct AlreadyCreatedError;
Expand description
Error that occurs when the Shutdown::new
function is called more than once in a process
lifetime.
Trait Implementations§
source§impl Debug for AlreadyCreatedError
impl Debug for AlreadyCreatedError
source§impl Display for AlreadyCreatedError
impl Display for AlreadyCreatedError
source§impl Error for AlreadyCreatedError
impl Error for AlreadyCreatedError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<AlreadyCreatedError> for AlreadyCreatedError
impl PartialEq<AlreadyCreatedError> for AlreadyCreatedError
source§fn eq(&self, other: &AlreadyCreatedError) -> bool
fn eq(&self, other: &AlreadyCreatedError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AlreadyCreatedError
impl StructuralEq for AlreadyCreatedError
impl StructuralPartialEq for AlreadyCreatedError
Auto Trait Implementations§
impl RefUnwindSafe for AlreadyCreatedError
impl Send for AlreadyCreatedError
impl Sync for AlreadyCreatedError
impl Unpin for AlreadyCreatedError
impl UnwindSafe for AlreadyCreatedError
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