#[non_exhaustive]pub enum ProviderError {
Serve(ServeError),
Claim(ReadError),
}Expand description
The error a generated serve resolves to.
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.
Serve(ServeError)
Handler::serve refused the interface’s members.
Claim(ReadError)
The handler port failed while a claim was read; the claims already settled stay settled.
Trait Implementations§
Source§impl Clone for ProviderError
impl Clone for ProviderError
impl Copy for ProviderError
Source§impl Debug for ProviderError
impl Debug for ProviderError
impl Eq for ProviderError
Source§impl From<ReadError> for ProviderError
impl From<ReadError> for ProviderError
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 ProviderError
impl PartialEq for ProviderError
impl StructuralPartialEq for ProviderError
Auto Trait Implementations§
impl Freeze for ProviderError
impl RefUnwindSafe for ProviderError
impl Send for ProviderError
impl Sync for ProviderError
impl Unpin for ProviderError
impl UnsafeUnpin for ProviderError
impl UnwindSafe for ProviderError
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