pub enum ActionErrorKind {
DiscoverError {
err: DiscoverActionError,
},
ResolveError {
err: ResolveActionError,
},
UnresolveError {
err: UnresolveActionError,
},
StartError {
err: StartActionError,
},
StopError {
err: StopActionError,
},
DestroyError {
err: DestroyActionError,
},
ShutdownError {
err: ShutdownActionError,
},
}Variants§
DiscoverError
Fields
§
err: DiscoverActionErrorResolveError
Fields
§
err: ResolveActionErrorUnresolveError
Fields
StartError
Fields
§
err: StartActionErrorStopError
Fields
§
err: StopActionErrorDestroyError
Fields
§
err: DestroyActionErrorShutdownError
Fields
§
err: ShutdownActionErrorTrait Implementations§
Source§impl Clone for ActionErrorKind
impl Clone for ActionErrorKind
Source§fn clone(&self) -> ActionErrorKind
fn clone(&self) -> ActionErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionErrorKind
impl Debug for ActionErrorKind
Source§impl Display for ActionErrorKind
impl Display for ActionErrorKind
Source§impl Error for ActionErrorKind
impl Error for ActionErrorKind
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<ActionErrorKind> for ActionError
impl From<ActionErrorKind> for ActionError
Source§fn from(err: ActionErrorKind) -> Self
fn from(err: ActionErrorKind) -> Self
Converts to this type from the input type.
Source§impl From<DestroyActionError> for ActionErrorKind
impl From<DestroyActionError> for ActionErrorKind
Source§fn from(source: DestroyActionError) -> Self
fn from(source: DestroyActionError) -> Self
Converts to this type from the input type.
Source§impl From<DiscoverActionError> for ActionErrorKind
impl From<DiscoverActionError> for ActionErrorKind
Source§fn from(source: DiscoverActionError) -> Self
fn from(source: DiscoverActionError) -> Self
Converts to this type from the input type.
Source§impl From<ResolveActionError> for ActionErrorKind
impl From<ResolveActionError> for ActionErrorKind
Source§fn from(source: ResolveActionError) -> Self
fn from(source: ResolveActionError) -> Self
Converts to this type from the input type.
Source§impl From<ShutdownActionError> for ActionErrorKind
impl From<ShutdownActionError> for ActionErrorKind
Source§fn from(source: ShutdownActionError) -> Self
fn from(source: ShutdownActionError) -> Self
Converts to this type from the input type.
Source§impl From<StartActionError> for ActionErrorKind
impl From<StartActionError> for ActionErrorKind
Source§fn from(source: StartActionError) -> Self
fn from(source: StartActionError) -> Self
Converts to this type from the input type.
Source§impl From<StopActionError> for ActionErrorKind
impl From<StopActionError> for ActionErrorKind
Source§fn from(source: StopActionError) -> Self
fn from(source: StopActionError) -> Self
Converts to this type from the input type.
Source§impl From<UnresolveActionError> for ActionErrorKind
impl From<UnresolveActionError> for ActionErrorKind
Source§fn from(source: UnresolveActionError) -> Self
fn from(source: UnresolveActionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActionErrorKind
impl !RefUnwindSafe for ActionErrorKind
impl Send for ActionErrorKind
impl Sync for ActionErrorKind
impl Unpin for ActionErrorKind
impl !UnwindSafe for ActionErrorKind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
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