Enum safe_network::messaging::client::TryFromError [−][src]
pub enum TryFromError { WrongType, Response(Error), }
Expand description
Error type for an attempted conversion from QueryResponse
to a type implementing
TryFrom<Response>
.
Variants
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V