pub struct SlotRecord {
pub state: SlotState,
pub region_id: u64,
pub gen: u64,
pub wrapped: [u8; 40],
}Expand description
The authoritative (highest-gen, MAC-valid) view of a logical slot. region_id is
the generic owner id: a region id in the region store, an atom id in the atom store.
Fields§
§state: SlotState§region_id: u64§gen: u64§wrapped: [u8; 40]Trait Implementations§
Source§impl Clone for SlotRecord
impl Clone for SlotRecord
Source§fn clone(&self) -> SlotRecord
fn clone(&self) -> SlotRecord
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 moreimpl Copy for SlotRecord
Auto Trait Implementations§
impl Freeze for SlotRecord
impl RefUnwindSafe for SlotRecord
impl Send for SlotRecord
impl Sync for SlotRecord
impl Unpin for SlotRecord
impl UnsafeUnpin for SlotRecord
impl UnwindSafe for SlotRecord
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