Enum safe_network::messaging::data::TryFromError
source · [−]pub enum TryFromError {
WrongType,
Response(Error),
}
Expand description
Error type for an attempted conversion from a QueryResponse
variant to an expected wrapped
value.
Variants
WrongType
Wrong variant found in QueryResponse
.
Response(Error)
The QueryResponse
contained an error.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TryFromError
impl Send for TryFromError
impl Sync for TryFromError
impl Unpin for TryFromError
impl UnwindSafe for TryFromError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more