pub enum ReasonCode {
Show 20 variants
InvalidConfiguration,
UnsupportedCapability,
MissingArtifact,
ArtifactIoFailure,
ModelFormatOrLoadFailure,
BackendInitializationFailure,
DeviceUnavailable,
ResourceAllocationFailure,
OutOfMemory,
ContextExhausted,
StageUnavailable,
Timeout,
Cancellation,
ProcessCrash,
IncompatibleAbiOrFeatureSet,
InternalRuntimeFailure,
UnknownFailure,
TerminalNotDelivered,
ReservationExhausted,
Unknown(UnknownReasonCode),
}Variants§
InvalidConfiguration
UnsupportedCapability
MissingArtifact
ArtifactIoFailure
ModelFormatOrLoadFailure
BackendInitializationFailure
ResourceAllocationFailure
OutOfMemory
ContextExhausted
Timeout
Cancellation
ProcessCrash
IncompatibleAbiOrFeatureSet
InternalRuntimeFailure
UnknownFailure
TerminalNotDelivered
ReservationExhausted
Unknown(UnknownReasonCode)
Trait Implementations§
Source§impl Clone for ReasonCode
impl Clone for ReasonCode
Source§impl Debug for ReasonCode
impl Debug for ReasonCode
impl Eq for ReasonCode
Source§impl PartialEq for ReasonCode
impl PartialEq for ReasonCode
impl StructuralPartialEq for ReasonCode
Auto Trait Implementations§
impl Freeze for ReasonCode
impl RefUnwindSafe for ReasonCode
impl Send for ReasonCode
impl Sync for ReasonCode
impl Unpin for ReasonCode
impl UnsafeUnpin for ReasonCode
impl UnwindSafe for ReasonCode
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