Struct ResumeInfo
pub struct ResumeInfo {
pub handle: String,
pub resumable: bool,
pub last_consumed_index: Option<String>,
}Expand description
Session resumption information from the server.
Fields§
§handle: StringOpaque handle for session resumption.
resumable: boolWhether the session is currently resumable.
last_consumed_index: Option<String>Index of the last client message consumed by the server.
Trait Implementations§
§impl Clone for ResumeInfo
impl Clone for ResumeInfo
§fn clone(&self) -> ResumeInfo
fn clone(&self) -> ResumeInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResumeInfo
impl RefUnwindSafe for ResumeInfo
impl Send for ResumeInfo
impl Sync for ResumeInfo
impl Unpin for ResumeInfo
impl UnwindSafe for ResumeInfo
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