Struct raft_engine::internals::FileBlockHandle
source · pub struct FileBlockHandle {
pub id: FileId,
pub offset: u64,
pub len: usize,
}Expand description
A logical pointer to a chunk of log file data.
Fields§
§id: FileId§offset: u64§len: usizeTrait Implementations§
source§impl Clone for FileBlockHandle
impl Clone for FileBlockHandle
source§fn clone(&self) -> FileBlockHandle
fn clone(&self) -> FileBlockHandle
Returns a copy 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 FileBlockHandle
impl Debug for FileBlockHandle
source§impl PartialEq<FileBlockHandle> for FileBlockHandle
impl PartialEq<FileBlockHandle> for FileBlockHandle
source§fn eq(&self, other: &FileBlockHandle) -> bool
fn eq(&self, other: &FileBlockHandle) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for FileBlockHandle
impl Eq for FileBlockHandle
impl StructuralEq for FileBlockHandle
impl StructuralPartialEq for FileBlockHandle
Auto Trait Implementations§
impl RefUnwindSafe for FileBlockHandle
impl Send for FileBlockHandle
impl Sync for FileBlockHandle
impl Unpin for FileBlockHandle
impl UnwindSafe for FileBlockHandle
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