#[non_exhaustive]pub enum LocalFailure {
SendFailed,
Cancelled,
}Expand description
Why the caller ended an exchange itself.
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.
Trait Implementations§
Source§impl Clone for LocalFailure
impl Clone for LocalFailure
impl Copy for LocalFailure
Source§impl Debug for LocalFailure
impl Debug for LocalFailure
impl Eq for LocalFailure
Source§impl PartialEq for LocalFailure
impl PartialEq for LocalFailure
impl StructuralPartialEq for LocalFailure
Auto Trait Implementations§
impl Freeze for LocalFailure
impl RefUnwindSafe for LocalFailure
impl Send for LocalFailure
impl Sync for LocalFailure
impl Unpin for LocalFailure
impl UnsafeUnpin for LocalFailure
impl UnwindSafe for LocalFailure
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