pub struct AtomicAggregatedState { /* private fields */ }Expand description
Atomic wrapper around UpstreamState for lock-free state transitions.
Implementations§
Source§impl AtomicAggregatedState
impl AtomicAggregatedState
pub fn new(state: AggregatedState) -> Self
pub fn get(&self) -> AggregatedState
pub fn set(&self, state: AggregatedState)
Trait Implementations§
Source§impl Clone for AtomicAggregatedState
impl Clone for AtomicAggregatedState
Source§fn clone(&self) -> AtomicAggregatedState
fn clone(&self) -> AtomicAggregatedState
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 moreAuto Trait Implementations§
impl Freeze for AtomicAggregatedState
impl RefUnwindSafe for AtomicAggregatedState
impl Send for AtomicAggregatedState
impl Sync for AtomicAggregatedState
impl Unpin for AtomicAggregatedState
impl UnsafeUnpin for AtomicAggregatedState
impl UnwindSafe for AtomicAggregatedState
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