pub struct CommitPointerValue {
pub queue_key: QueueKey,
pub seqno: u32,
}Fields§
§queue_key: QueueKey§seqno: u32Trait Implementations§
Source§impl Clone for CommitPointerValue
impl Clone for CommitPointerValue
Source§fn clone(&self) -> CommitPointerValue
fn clone(&self) -> CommitPointerValue
Returns a duplicate 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 moreSource§impl Debug for CommitPointerValue
impl Debug for CommitPointerValue
Source§impl Default for CommitPointerValue
impl Default for CommitPointerValue
Source§fn default() -> CommitPointerValue
fn default() -> CommitPointerValue
Returns the “default value” for a type. Read more
Source§impl StoredValue for CommitPointerValue
impl StoredValue for CommitPointerValue
Source§type OnStackSlice = [u8; 44]
type OnStackSlice = [u8; 44]
On-stack buffer type (see
smallvec::SmallVec)Source§fn serialize<T: StoredValueBuffer>(&self, buffer: &mut T)
fn serialize<T: StoredValueBuffer>(&self, buffer: &mut T)
Serializes the data to the buffer
Source§fn deserialize(reader: &mut &[u8]) -> Self
fn deserialize(reader: &mut &[u8]) -> Self
Deserializes the data from the buffer. Read more
Source§fn from_slice(data: &[u8]) -> Selfwhere
Self: Sized,
fn from_slice(data: &[u8]) -> Selfwhere
Self: Sized,
Deserializes the data from the buffer. Read more
Source§fn to_vec(&self) -> SmallVec<Self::OnStackSlice>
fn to_vec(&self) -> SmallVec<Self::OnStackSlice>
Constructs on-stack buffer with the serialized object
Auto Trait Implementations§
impl Freeze for CommitPointerValue
impl RefUnwindSafe for CommitPointerValue
impl Send for CommitPointerValue
impl Sync for CommitPointerValue
impl Unpin for CommitPointerValue
impl UnsafeUnpin for CommitPointerValue
impl UnwindSafe for CommitPointerValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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