pub enum RegisterManagerError {
AlreadyOccupiedFormat(String),
RegisterManagerByManager(Box<dyn StdError + Send + Sync>),
}Expand description
Errors that can occur when registering a plugin manager.
This error type is returned by manager registration operations.
Variants§
AlreadyOccupiedFormat(String)
A manager with the same format is already registered
RegisterManagerByManager(Box<dyn StdError + Send + Sync>)
The manager itself returned an error during registration
Trait Implementations§
Source§impl Debug for RegisterManagerError
impl Debug for RegisterManagerError
Source§impl Display for RegisterManagerError
impl Display for RegisterManagerError
Source§impl Error for RegisterManagerError
impl Error for RegisterManagerError
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 RegisterManagerError
impl !UnwindSafe for RegisterManagerError
impl Freeze for RegisterManagerError
impl Send for RegisterManagerError
impl Sync for RegisterManagerError
impl Unpin for RegisterManagerError
impl UnsafeUnpin for RegisterManagerError
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