pub enum Fail {
Show 20 variants
Error(String),
Unexpected {
expected: String,
received: String,
},
DoNotKnowSpecific(Specific),
ResourceStateFinal(ResourceIdentifier),
ResourceAddressAlreadyInUse(ResourceAddress),
ResourceNotFound(ResourceIdentifier),
WrongResourceType {
expected: HashSet<ResourceType>,
received: ResourceType,
},
WrongParentResourceType {
expected: HashSet<ResourceType>,
received: Option<ResourceType>,
},
ResourceTypeRequiresOwner,
ChannelRecvErr,
CannotSelectResourceHost,
ResourceCannotGenerateAddress,
SuitableHostNotAvailable(String),
SqlError(String),
CannotCreateNothingResourceTypeItIsThereAsAPlaceholderDummy,
ResourceTypeMismatch(String),
Timeout,
InvalidResourceState(String),
NoProvisioner(ResourceKind),
QueueOverflow,
}
Variants§
Error(String)
Unexpected
DoNotKnowSpecific(Specific)
ResourceStateFinal(ResourceIdentifier)
ResourceAddressAlreadyInUse(ResourceAddress)
ResourceNotFound(ResourceIdentifier)
WrongResourceType
WrongParentResourceType
ResourceTypeRequiresOwner
ChannelRecvErr
CannotSelectResourceHost
ResourceCannotGenerateAddress
SuitableHostNotAvailable(String)
SqlError(String)
CannotCreateNothingResourceTypeItIsThereAsAPlaceholderDummy
ResourceTypeMismatch(String)
Timeout
InvalidResourceState(String)
NoProvisioner(ResourceKind)
QueueOverflow
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Fail
impl<'de> Deserialize<'de> for Fail
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<FromUtf8Error> for Fail
impl From<FromUtf8Error> for Fail
Source§fn from(e: FromUtf8Error) -> Self
fn from(e: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for Fail
impl From<Infallible> for Fail
Source§fn from(e: Infallible) -> Self
fn from(e: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<SemVerError> for Fail
impl From<SemVerError> for Fail
Source§fn from(error: SemVerError) -> Self
fn from(error: SemVerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Fail
impl RefUnwindSafe for Fail
impl Send for Fail
impl Sync for Fail
impl Unpin for Fail
impl UnwindSafe for Fail
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