#[non_exhaustive]pub enum RaiseError {
Busy,
TooLarge {
cap: usize,
},
NotOwner,
Contract(Contract),
Detached,
}Expand description
An EventSink::raise 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.
Busy
The runtime cannot accept an occurrence now. Retryable.
TooLarge
The occurrence is larger than the event’s capacity.
NotOwner
This provider does not own the event.
Contract(Contract)
A contract error, such as an unknown interaction.
Detached
The runtime behind the port is gone.
Trait Implementations§
Source§impl Clone for RaiseError
impl Clone for RaiseError
impl Copy for RaiseError
Source§impl Debug for RaiseError
impl Debug for RaiseError
impl Eq for RaiseError
Source§impl PartialEq for RaiseError
impl PartialEq for RaiseError
impl StructuralPartialEq for RaiseError
Auto Trait Implementations§
impl Freeze for RaiseError
impl RefUnwindSafe for RaiseError
impl Send for RaiseError
impl Sync for RaiseError
impl Unpin for RaiseError
impl UnsafeUnpin for RaiseError
impl UnwindSafe for RaiseError
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