pub enum UnregisterManagerError {
NotFound,
UnregisterPlugin(UnregisterPluginError),
UnregisterManagerByManager(Box<dyn StdError + Send + Sync>),
}Expand description
Errors that can occur when unregistering a plugin manager.
This error type is returned by manager unregistration operations.
Variants§
NotFound
The manager was not found
UnregisterPlugin(UnregisterPluginError)
Failed to unregister a plugin during manager unregistration
UnregisterManagerByManager(Box<dyn StdError + Send + Sync>)
The manager itself returned an error during unregistration
Trait Implementations§
Source§impl Debug for UnregisterManagerError
impl Debug for UnregisterManagerError
Source§impl Display for UnregisterManagerError
impl Display for UnregisterManagerError
Source§impl Error for UnregisterManagerError
impl Error for UnregisterManagerError
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()
Source§impl From<UnregisterPluginError> for UnregisterManagerError
impl From<UnregisterPluginError> for UnregisterManagerError
Source§fn from(source: UnregisterPluginError) -> Self
fn from(source: UnregisterPluginError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for UnregisterManagerError
impl !UnwindSafe for UnregisterManagerError
impl Freeze for UnregisterManagerError
impl Send for UnregisterManagerError
impl Sync for UnregisterManagerError
impl Unpin for UnregisterManagerError
impl UnsafeUnpin for UnregisterManagerError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more