pub struct SessionDetail {Show 15 fields
pub peer_username: String,
pub message_count: u32,
pub error_count: u32,
pub dh_ratchet_step: u32,
pub send_msg_number: u32,
pub recv_msg_number: u32,
pub prev_recv_chain_length: u32,
pub skipped_keys_count: u32,
pub current_state: String,
pub transition_count: u32,
pub created_at: u64,
pub last_updated: u64,
pub receiving_chain_active: bool,
pub sending_chain_active: bool,
pub has_remote_dh: bool,
}Expand description
Details about a specific Double Ratchet session.
Fields§
§peer_username: String§message_count: u32§error_count: u32§dh_ratchet_step: u32§send_msg_number: u32§recv_msg_number: u32§prev_recv_chain_length: u32§skipped_keys_count: u32§current_state: String§transition_count: u32§created_at: u64§last_updated: u64§receiving_chain_active: bool§sending_chain_active: bool§has_remote_dh: boolTrait Implementations§
Source§impl Clone for SessionDetail
impl Clone for SessionDetail
Source§fn clone(&self) -> SessionDetail
fn clone(&self) -> SessionDetail
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 SessionDetail
impl RefUnwindSafe for SessionDetail
impl Send for SessionDetail
impl Sync for SessionDetail
impl Unpin for SessionDetail
impl UnwindSafe for SessionDetail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more