pub struct Client {
pub first_seen: SystemTime,
pub last_seen: SystemTime,
pub shared_key: Aes256GcmSiv,
}Expand description
A single client including when they connected and their shared cryptographic key
Fields§
§first_seen: SystemTime§last_seen: SystemTimeImplementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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