Enum singleton_manager::Error [−][src]
pub enum Error {
Show 13 variants
ServiceDoesNotExist(String),
ServiceNotInstantiated(String),
FailedToDowncastRefOfService(String),
FailedToStoreService(String),
NoFactoryFunctionAvailable(String),
SetFailedToReturnAServiceReference(String),
FailedToDowncastFactoryOutput(String),
NoServiceWithStorageRequest,
FailedToStoreServiceAlias,
MutexGotPoison,
ServiceAlreadyExists,
FailedToStoreFactory,
UnknownError(String),
}Variants
Tuple Fields of ServiceDoesNotExist
0: StringTuple Fields of ServiceNotInstantiated
0: StringTuple Fields of FailedToDowncastRefOfService
0: StringTuple Fields of FailedToStoreService
0: StringTuple Fields of NoFactoryFunctionAvailable
0: StringTuple Fields of SetFailedToReturnAServiceReference
0: StringTuple Fields of FailedToDowncastFactoryOutput
0: StringTuple Fields of UnknownError
0: StringTrait Implementations
setting up the support for std::error::Error to allow error handling and passthroughs
pub enum SomeError { CustomError(Box<dyn std::error::Error + Send>) }
The concept of this is that it will allow for either alter parsing of the Error value later without the loss of information.
Auto Trait Implementations
impl RefUnwindSafe for Error
impl UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more