pub enum ExtensionOutcome {
Match(ExtensionReceipt),
NoMatch(ExtensionReceipt),
Refused {
reason: ExtensionRefusal,
receipt: ExtensionReceipt,
},
}Expand description
Result of a bounded non-regular attempt.
Variants§
Match(ExtensionReceipt)
The extension accepted.
NoMatch(ExtensionReceipt)
The extension rejected conclusively.
Refused
The feature was unsupported or its independent budget was exhausted.
Fields
§
reason: ExtensionRefusalExact refusal.
§
receipt: ExtensionReceiptWork consumed before refusal.
Trait Implementations§
Source§impl Clone for ExtensionOutcome
impl Clone for ExtensionOutcome
Source§fn clone(&self) -> ExtensionOutcome
fn clone(&self) -> ExtensionOutcome
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 ExtensionOutcome
impl Debug for ExtensionOutcome
impl Eq for ExtensionOutcome
Source§impl PartialEq for ExtensionOutcome
impl PartialEq for ExtensionOutcome
impl StructuralPartialEq for ExtensionOutcome
Auto Trait Implementations§
impl Freeze for ExtensionOutcome
impl RefUnwindSafe for ExtensionOutcome
impl Send for ExtensionOutcome
impl Sync for ExtensionOutcome
impl Unpin for ExtensionOutcome
impl UnsafeUnpin for ExtensionOutcome
impl UnwindSafe for ExtensionOutcome
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