Struct log_device::StripeReference
source · pub struct StripeReference { /* private fields */ }
Expand description
Here is the folder structure of log devices. path_dir/meta_db/ /log_device_0/segment_0 /segment_1 /… /log_device_1/segment_0 /segment_1 /… /… There is an independent file for each segment in a log. This is to facilitate log trimming in garbage collection.
Trait Implementations§
source§impl Clone for StripeReference
impl Clone for StripeReference
source§fn clone(&self) -> StripeReference
fn clone(&self) -> StripeReference
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 StripeReference
impl Debug for StripeReference
source§impl Decodable for StripeReference
impl Decodable for StripeReference
source§impl Default for StripeReference
impl Default for StripeReference
source§fn default() -> StripeReference
fn default() -> StripeReference
Returns the “default value” for a type. Read more
source§impl Encodable for StripeReference
impl Encodable for StripeReference
impl Copy for StripeReference
Auto Trait Implementations§
impl RefUnwindSafe for StripeReference
impl Send for StripeReference
impl Sync for StripeReference
impl Unpin for StripeReference
impl UnwindSafe for StripeReference
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