pub enum Reason {
Show 110 variants
ActivationBusy,
Address,
AlreadyCommitted,
AmbiguousScope,
ApiVersion,
Arguments,
Bigint,
ByteResult,
Call,
CleanupBusy,
Clock,
Context,
Deadline,
Dependency,
DependencyCycle,
DependencyService,
Disposing,
Driver,
Duplicate,
DuplicateContribution,
DuplicateService,
EffectResults,
EffectsRunning,
ExclusiveDependent,
Executor,
Orb,
OrbInstalled,
GateBusy,
GateOrb,
GateObject,
Hook,
HookDependency,
Hooks,
Host,
HostAddress,
HostResourceReload,
Identities,
Invocation,
Javascript,
Lifetime,
Linger,
LiveConsumer,
LiveReference,
LocalValue,
Memory,
Metadata,
MetadataSize,
Method,
MigrationGate,
MigrationRequired,
MigrationValue,
MissingHook,
MissingMethod,
NativeEffect,
NativeMethod,
NativeObject,
NativeService,
NotReady,
Object,
ObjectState,
ObservationSource,
ObservationAdmitted,
Operation,
OperationOwner,
Owner,
Payload,
Priority,
Program,
ProgramPhase,
ProgramRunning,
Reference,
ReloadAborted,
ReloadDeadline,
ReloadPreparing,
ReloadRunning,
ReloadTicket,
Requires,
Resource,
ResourceDependencies,
ResourceDependency,
ResourceHost,
ResourceState,
ResourceVersion,
Result,
RetainedVersions,
RevisionExhausted,
Root,
RustType,
Scope,
ScopeClosed,
ScopeOrb,
ScopeOwner,
ScopeResource,
Serialization,
Service,
State,
StateInitialized,
StateOwner,
StateRevision,
StateVersion,
Subscription,
SubscriptionBusy,
SubscriptionIdle,
SubscriptionQueue,
Superseded,
Task,
Telemetry,
UnknownService,
UpgradeConflict,
Value,
}Expand description
Built-in failure reasons. Orbs may still supply their own reason strings at an adapter seam.
Variants§
ActivationBusy
Address
AlreadyCommitted
AmbiguousScope
ApiVersion
Arguments
Bigint
ByteResult
Call
CleanupBusy
Clock
Context
Deadline
Dependency
DependencyCycle
DependencyService
Disposing
Driver
Duplicate
DuplicateContribution
DuplicateService
EffectResults
EffectsRunning
ExclusiveDependent
Executor
Orb
OrbInstalled
GateBusy
GateOrb
GateObject
Hook
HookDependency
Hooks
Host
HostAddress
HostResourceReload
Identities
Invocation
Javascript
Lifetime
Linger
LiveConsumer
LiveReference
LocalValue
Memory
Metadata
MetadataSize
Method
MigrationGate
MigrationRequired
MigrationValue
MissingHook
MissingMethod
NativeEffect
NativeMethod
NativeObject
NativeService
NotReady
Object
ObjectState
ObservationSource
ObservationAdmitted
Operation
OperationOwner
Owner
Payload
Priority
Program
ProgramPhase
ProgramRunning
Reference
ReloadAborted
ReloadDeadline
ReloadPreparing
ReloadRunning
ReloadTicket
Requires
Resource
ResourceDependencies
ResourceDependency
ResourceHost
ResourceState
ResourceVersion
Result
RetainedVersions
RevisionExhausted
Root
RustType
Scope
ScopeClosed
ScopeOrb
ScopeOwner
ScopeResource
Serialization
Service
State
StateInitialized
StateOwner
StateRevision
StateVersion
Subscription
SubscriptionBusy
SubscriptionIdle
SubscriptionQueue
Superseded
Task
Telemetry
UnknownService
UpgradeConflict
Value
Implementations§
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
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