pub enum ClientTransportVisitError<T, V> {
Receive(ClientTransportBridgeError<T>),
Visitor(V),
}Expand description
Error produced while visiting client-bound transport frames.
Variants§
Receive(ClientTransportBridgeError<T>)
Packet receive, validation, or frame decoding failed.
Visitor(V)
The caller-provided frame visitor failed.
Trait Implementations§
Source§impl<T: Clone, V: Clone> Clone for ClientTransportVisitError<T, V>
impl<T: Clone, V: Clone> Clone for ClientTransportVisitError<T, V>
Source§fn clone(&self) -> ClientTransportVisitError<T, V>
fn clone(&self) -> ClientTransportVisitError<T, V>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Eq, V: Eq> Eq for ClientTransportVisitError<T, V>
Source§impl<T, V> Error for ClientTransportVisitError<T, V>
impl<T, V> Error for ClientTransportVisitError<T, V>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl<T: PartialEq, V: PartialEq> StructuralPartialEq for ClientTransportVisitError<T, V>
Auto Trait Implementations§
impl<T, V> Freeze for ClientTransportVisitError<T, V>
impl<T, V> RefUnwindSafe for ClientTransportVisitError<T, V>where
V: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, V> Send for ClientTransportVisitError<T, V>
impl<T, V> Sync for ClientTransportVisitError<T, V>
impl<T, V> Unpin for ClientTransportVisitError<T, V>
impl<T, V> UnsafeUnpin for ClientTransportVisitError<T, V>where
V: UnsafeUnpin,
T: UnsafeUnpin,
impl<T, V> UnwindSafe for ClientTransportVisitError<T, V>where
V: UnwindSafe,
T: UnwindSafe,
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