pub struct HandshakeLimits {
pub clock_skew_seconds: i64,
pub max_age_seconds: i64,
pub max_session_seconds: i64,
}Expand description
The time limits of the handshake: the clock skew allowed either way, the
oldest HELLO (for build_accept_with) or ACCEPT (for
verify_accept_with) accepted, and the longest session an ACCEPT may
grant.
Fields§
§clock_skew_seconds: i64§max_age_seconds: i64§max_session_seconds: i64Trait Implementations§
Source§impl Clone for HandshakeLimits
impl Clone for HandshakeLimits
impl Copy for HandshakeLimits
Source§impl Debug for HandshakeLimits
impl Debug for HandshakeLimits
Source§impl Default for HandshakeLimits
impl Default for HandshakeLimits
impl Eq for HandshakeLimits
Source§impl PartialEq for HandshakeLimits
impl PartialEq for HandshakeLimits
impl StructuralPartialEq for HandshakeLimits
Auto Trait Implementations§
impl Forget for HandshakeLimits
impl Freeze for HandshakeLimits
impl Move for HandshakeLimits
impl RefUnwindSafe for HandshakeLimits
impl Send for HandshakeLimits
impl Sync for HandshakeLimits
impl Unpin for HandshakeLimits
impl UnsafeUnpin for HandshakeLimits
impl UnwindSafe for HandshakeLimits
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.