pub enum ReplicationReceiveVisitError<T, V> {
Receive(ReplicationReceiveError<T>),
Visitor(V),
}Expand description
Error produced while visiting borrowed replication frames.
Variants§
Receive(ReplicationReceiveError<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 ReplicationReceiveVisitError<T, V>
impl<T: Clone, V: Clone> Clone for ReplicationReceiveVisitError<T, V>
Source§fn clone(&self) -> ReplicationReceiveVisitError<T, V>
fn clone(&self) -> ReplicationReceiveVisitError<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 ReplicationReceiveVisitError<T, V>
Source§impl<T, V> Error for ReplicationReceiveVisitError<T, V>
impl<T, V> Error for ReplicationReceiveVisitError<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 ReplicationReceiveVisitError<T, V>
Auto Trait Implementations§
impl<T, V> Freeze for ReplicationReceiveVisitError<T, V>
impl<T, V> RefUnwindSafe for ReplicationReceiveVisitError<T, V>where
V: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, V> Send for ReplicationReceiveVisitError<T, V>
impl<T, V> Sync for ReplicationReceiveVisitError<T, V>
impl<T, V> Unpin for ReplicationReceiveVisitError<T, V>
impl<T, V> UnsafeUnpin for ReplicationReceiveVisitError<T, V>where
V: UnsafeUnpin,
T: UnsafeUnpin,
impl<T, V> UnwindSafe for ReplicationReceiveVisitError<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