pub struct ApplicationContext {
pub application_hlc: Arc<ApplicationHybridLogicalClock>,
}
Expand description
Struct containing the application context for the Azure IoT Operations SDK.
There must be a max of one per session and there should only be one per application (which may contain multiple sessions).
Fields§
§application_hlc: Arc<ApplicationHybridLogicalClock>
The ApplicationHybridLogicalClock
used by the application.
Trait Implementations§
Source§impl Clone for ApplicationContext
impl Clone for ApplicationContext
Source§fn clone(&self) -> ApplicationContext
fn clone(&self) -> ApplicationContext
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ApplicationContext
impl RefUnwindSafe for ApplicationContext
impl Send for ApplicationContext
impl Sync for ApplicationContext
impl Unpin for ApplicationContext
impl UnwindSafe for ApplicationContext
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