pub struct RecoveredSession<'a> {
pub client: &'a Client,
pub generation: u64,
pub state: SessionState,
}Expand description
One session lease. A new generation has a newly validated namespace table and read limit.
Fields§
§client: &'a ClientThe ordinary pinned client. All read, subscription and commissioning APIs retain their semantics.
generation: u64Monotonically increasing successful session number, starting at one.
state: SessionStateWhether polling continues on the previous session or starts a fresh generation.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RecoveredSession<'a>
impl<'a> !UnwindSafe for RecoveredSession<'a>
impl<'a> Forget for RecoveredSession<'a>
impl<'a> Freeze for RecoveredSession<'a>
impl<'a> Move for RecoveredSession<'a>
impl<'a> Send for RecoveredSession<'a>
impl<'a> Sync for RecoveredSession<'a>
impl<'a> Unpin for RecoveredSession<'a>
impl<'a> UnsafeUnpin for RecoveredSession<'a>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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