pub enum ReconnectResultType {
Replay,
Snapshot,
}Expand description
Discriminant for reconnect result types.
Variants§
Trait Implementations§
Source§impl Clone for ReconnectResultType
impl Clone for ReconnectResultType
Source§fn clone(&self) -> ReconnectResultType
fn clone(&self) -> ReconnectResultType
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 Copy for ReconnectResultType
Source§impl Debug for ReconnectResultType
impl Debug for ReconnectResultType
Source§impl<'de> Deserialize<'de> for ReconnectResultType
impl<'de> Deserialize<'de> for ReconnectResultType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReconnectResultType
Source§impl Hash for ReconnectResultType
impl Hash for ReconnectResultType
Source§impl PartialEq for ReconnectResultType
impl PartialEq for ReconnectResultType
Source§fn eq(&self, other: &ReconnectResultType) -> bool
fn eq(&self, other: &ReconnectResultType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReconnectResultType
impl Serialize for ReconnectResultType
impl StructuralPartialEq for ReconnectResultType
Auto Trait Implementations§
impl Freeze for ReconnectResultType
impl RefUnwindSafe for ReconnectResultType
impl Send for ReconnectResultType
impl Sync for ReconnectResultType
impl Unpin for ReconnectResultType
impl UnsafeUnpin for ReconnectResultType
impl UnwindSafe for ReconnectResultType
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