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: String
Tuple Fields of ServiceNotInstantiated
0: String
Tuple Fields of FailedToDowncastRefOfService
0: String
Tuple Fields of FailedToStoreService
0: String
Tuple Fields of NoFactoryFunctionAvailable
0: String
Tuple Fields of SetFailedToReturnAServiceReference
0: String
Tuple Fields of FailedToDowncastFactoryOutput
0: String
Tuple Fields of UnknownError
0: String
Trait 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