pub struct CriticalMetadataRecoveryShard {
pub shard_index: u16,
pub shard_role: u8,
pub shard_payload_length: u32,
pub payload: Vec<u8>,
pub shard_crc32c: u32,
}Fields§
§shard_index: u16§shard_role: u8§shard_payload_length: u32§payload: Vec<u8>§shard_crc32c: u32Implementations§
Trait Implementations§
Source§impl Clone for CriticalMetadataRecoveryShard
impl Clone for CriticalMetadataRecoveryShard
Source§fn clone(&self) -> CriticalMetadataRecoveryShard
fn clone(&self) -> CriticalMetadataRecoveryShard
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 moreSource§impl PartialEq for CriticalMetadataRecoveryShard
impl PartialEq for CriticalMetadataRecoveryShard
Source§fn eq(&self, other: &CriticalMetadataRecoveryShard) -> bool
fn eq(&self, other: &CriticalMetadataRecoveryShard) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CriticalMetadataRecoveryShard
impl StructuralPartialEq for CriticalMetadataRecoveryShard
Auto Trait Implementations§
impl Freeze for CriticalMetadataRecoveryShard
impl RefUnwindSafe for CriticalMetadataRecoveryShard
impl Send for CriticalMetadataRecoveryShard
impl Sync for CriticalMetadataRecoveryShard
impl Unpin for CriticalMetadataRecoveryShard
impl UnsafeUnpin for CriticalMetadataRecoveryShard
impl UnwindSafe for CriticalMetadataRecoveryShard
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