#[repr(C)]pub struct async_sequence_id {
pub value: u64,
}Expand description
A dispatcher-specific sequence identifier, which identifies a set of actions with a total ordering of execution: each subsequent action will always observe side-effects from previous actions, if the thread(s) performing those actions have the same sequence identifier.
For example, a dispatcher backed by a thread pool may choose to implement sequences by acquiring a sequence-specific lock before running any actions from that sequence, ensuring mutual exclusion within each sequence.
Fields§
§value: u64Trait Implementations§
Source§impl Clone for async_sequence_id
impl Clone for async_sequence_id
impl Copy for async_sequence_id
Source§impl Debug for async_sequence_id
impl Debug for async_sequence_id
Auto Trait Implementations§
impl Freeze for async_sequence_id
impl RefUnwindSafe for async_sequence_id
impl Send for async_sequence_id
impl Sync for async_sequence_id
impl Unpin for async_sequence_id
impl UnsafeUnpin for async_sequence_id
impl UnwindSafe for async_sequence_id
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