pub struct ReconnectParams {
pub channel: Uri,
pub client_id: String,
pub last_seen_server_seq: i64,
pub subscriptions: Vec<Uri>,
}Expand description
Re-establishes a dropped connection. The server replays missed actions or provides fresh snapshots.
Fields§
§channel: UriChannel URI this command targets.
client_id: StringClient identifier from the original connection
last_seen_server_seq: i64Last serverSeq the client received
subscriptions: Vec<Uri>URIs the client was subscribed to
Trait Implementations§
Source§impl Clone for ReconnectParams
impl Clone for ReconnectParams
Source§fn clone(&self) -> ReconnectParams
fn clone(&self) -> ReconnectParams
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 moreSource§impl Debug for ReconnectParams
impl Debug for ReconnectParams
Source§impl<'de> Deserialize<'de> for ReconnectParams
impl<'de> Deserialize<'de> for ReconnectParams
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
Source§impl PartialEq for ReconnectParams
impl PartialEq for ReconnectParams
Source§fn eq(&self, other: &ReconnectParams) -> bool
fn eq(&self, other: &ReconnectParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReconnectParams
impl Serialize for ReconnectParams
impl StructuralPartialEq for ReconnectParams
Auto Trait Implementations§
impl Freeze for ReconnectParams
impl RefUnwindSafe for ReconnectParams
impl Send for ReconnectParams
impl Sync for ReconnectParams
impl Unpin for ReconnectParams
impl UnsafeUnpin for ReconnectParams
impl UnwindSafe for ReconnectParams
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