#[non_exhaustive]pub enum SettleError {
UnknownClaim,
TooLarge {
cap: usize,
},
Detached,
}Expand description
A Handler::settle that failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnknownClaim
The claim was already settled, or was never issued.
TooLarge
The reply is larger than the call’s capacity.
Detached
The runtime behind the port is gone.
Trait Implementations§
Source§impl Clone for SettleError
impl Clone for SettleError
impl Copy for SettleError
Source§impl Debug for SettleError
impl Debug for SettleError
impl Eq for SettleError
Source§impl PartialEq for SettleError
impl PartialEq for SettleError
impl StructuralPartialEq for SettleError
Auto Trait Implementations§
impl Freeze for SettleError
impl RefUnwindSafe for SettleError
impl Send for SettleError
impl Sync for SettleError
impl Unpin for SettleError
impl UnsafeUnpin for SettleError
impl UnwindSafe for SettleError
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