#[non_exhaustive]pub enum ServeError {
Contract(Contract),
NotOwner,
Detached,
}Expand description
A Handler::serve 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, such as an unknown interaction.
NotOwner
This provider does not own the call.
Detached
The runtime behind the port is gone.
Trait Implementations§
Source§impl Clone for ServeError
impl Clone for ServeError
impl Copy for ServeError
Source§impl Debug for ServeError
impl Debug for ServeError
impl Eq for ServeError
Source§impl From<ServeError> for ProviderError
impl From<ServeError> for ProviderError
Source§fn from(error: ServeError) -> Self
fn from(error: ServeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ServeError
impl PartialEq for ServeError
impl StructuralPartialEq for ServeError
Auto Trait Implementations§
impl Freeze for ServeError
impl RefUnwindSafe for ServeError
impl Send for ServeError
impl Sync for ServeError
impl Unpin for ServeError
impl UnsafeUnpin for ServeError
impl UnwindSafe for ServeError
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