Enum safe_network::messaging::data::TryFromError [−][src]
pub enum TryFromError { WrongType, Response(Error), }
Expand description
Error type for an attempted conversion from a QueryResponse
variant to an expected wrapped
value.
Variants
Wrong variant found in QueryResponse
.
The QueryResponse
contained an error.
Tuple Fields of Response
0: 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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self