#[non_exhaustive]pub enum SubscribeError {
Contract(Contract),
Detached,
}Expand description
An EventSource::subscribe 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.
Contract(Contract)
A contract error: an unknown interaction fails when subscribing (ridl §10.2).
Detached
The runtime behind the port is gone.
Trait Implementations§
Source§impl Clone for SubscribeError
impl Clone for SubscribeError
impl Copy for SubscribeError
Source§impl Debug for SubscribeError
impl Debug for SubscribeError
impl Eq for SubscribeError
Source§impl PartialEq for SubscribeError
impl PartialEq for SubscribeError
impl StructuralPartialEq for SubscribeError
Auto Trait Implementations§
impl Freeze for SubscribeError
impl RefUnwindSafe for SubscribeError
impl Send for SubscribeError
impl Sync for SubscribeError
impl Unpin for SubscribeError
impl UnsafeUnpin for SubscribeError
impl UnwindSafe for SubscribeError
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