pub struct CipherExchangeLease { /* private fields */ }Expand description
In-flight CMD2902 ownership token. request_id distinguishes overlapping
requests on the same connection epoch; account revision rejects a response
racing with unlock/lock/reload.
Implementations§
Source§impl CipherExchangeLease
impl CipherExchangeLease
pub const fn broker_id(&self) -> u32
pub const fn connection_epoch(&self) -> u64
pub const fn request_id(&self) -> u64
pub const fn broker_generation(&self) -> u64
pub fn accounts(&self) -> &[CipherExchangeAccount]
Auto Trait Implementations§
impl Freeze for CipherExchangeLease
impl RefUnwindSafe for CipherExchangeLease
impl Send for CipherExchangeLease
impl Sync for CipherExchangeLease
impl Unpin for CipherExchangeLease
impl UnsafeUnpin for CipherExchangeLease
impl UnwindSafe for CipherExchangeLease
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more