pub enum HostRefusal {
Unsupported,
Denied,
Unavailable,
Suspended,
Invalid,
BudgetExhausted,
Cancelled,
ProviderFault,
}Expand description
Common host-call refusals limited to runtime mechanics.
Variants§
Unsupported
The provider does not implement the requested operation.
Denied
The call lacks authority granted by the realizing layer.
The provider is not currently reachable or ready.
Suspended
The port has been intentionally paused.
Invalid
The request is malformed for the provider contract.
BudgetExhausted
A declared mechanical budget has been consumed.
Cancelled
The caller or runtime cancelled the operation.
ProviderFault
The provider failed without exposing unsafe internal detail.
Trait Implementations§
Source§impl Clone for HostRefusal
impl Clone for HostRefusal
Source§fn clone(&self) -> HostRefusal
fn clone(&self) -> HostRefusal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HostRefusal
impl Debug for HostRefusal
impl Eq for HostRefusal
Source§impl PartialEq for HostRefusal
impl PartialEq for HostRefusal
impl StructuralPartialEq for HostRefusal
Auto Trait Implementations§
impl Freeze for HostRefusal
impl RefUnwindSafe for HostRefusal
impl Send for HostRefusal
impl Sync for HostRefusal
impl Unpin for HostRefusal
impl UnsafeUnpin for HostRefusal
impl UnwindSafe for HostRefusal
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