pub struct UasSessionTimer {
pub timer: SessionTimer,
pub echo: SessionExpires,
pub require_timer: bool,
}Expand description
UAS-side negotiation result: the timer to run plus what to put in our 2xx so the peer agrees on it.
Fields§
§timer: SessionTimerTimer state from our (UAS) perspective.
echo: SessionExpiresSession-Expires to echo in the 2xx (interval + pinned
refresher).
require_timer: booltrue if the peer advertised Supported: timer, in which case
the 2xx must also carry Require: timer (RFC 4028 §9).
Trait Implementations§
Source§impl Clone for UasSessionTimer
impl Clone for UasSessionTimer
Source§fn clone(&self) -> UasSessionTimer
fn clone(&self) -> UasSessionTimer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UasSessionTimer
Source§impl Debug for UasSessionTimer
impl Debug for UasSessionTimer
impl Eq for UasSessionTimer
Source§impl PartialEq for UasSessionTimer
impl PartialEq for UasSessionTimer
Source§fn eq(&self, other: &UasSessionTimer) -> bool
fn eq(&self, other: &UasSessionTimer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UasSessionTimer
Auto Trait Implementations§
impl Freeze for UasSessionTimer
impl RefUnwindSafe for UasSessionTimer
impl Send for UasSessionTimer
impl Sync for UasSessionTimer
impl Unpin for UasSessionTimer
impl UnsafeUnpin for UasSessionTimer
impl UnwindSafe for UasSessionTimer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.