Enum bonsaidb_files::Truncate
source · pub enum Truncate {
RemovingStart,
RemovingEnd,
}
Expand description
Controls which location of a file to remove data from during a truncation.
Variants§
RemovingStart
Remove data from the start (head) of the file when truncating.
RemovingEnd
Remove data from the end (tail) of the file when truncating.
Trait Implementations§
source§impl PartialEq<Truncate> for Truncate
impl PartialEq<Truncate> for Truncate
impl Copy for Truncate
impl Eq for Truncate
impl StructuralEq for Truncate
impl StructuralPartialEq for Truncate
Auto Trait Implementations§
impl RefUnwindSafe for Truncate
impl Send for Truncate
impl Sync for Truncate
impl Unpin for Truncate
impl UnwindSafe for Truncate
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