pub struct Peer {
pub profile: Profile,
pub identity_key: Vec<u8>,
pub binding: SignedTbs,
pub now_ms: i64,
}Expand description
What a connection checks a peer’s status frames against: the profile, the identity key and binding the handshake verified, and the time in milliseconds.
Fields§
§profile: Profile§identity_key: Vec<u8>§binding: SignedTbs§now_ms: i64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Peer
impl RefUnwindSafe for Peer
impl Send for Peer
impl Sync for Peer
impl Unpin for Peer
impl UnsafeUnpin for Peer
impl UnwindSafe for Peer
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