pub struct OpenRecoveryInfo {
pub truncated_bytes: u64,
pub truncate_reason: Option<String>,
}Expand description
Metadata about recovery actions applied during open.
Fields§
§truncated_bytes: u64Bytes truncated from the file tail during open (0 if none).
truncate_reason: Option<String>Human-readable reason when truncation occurred.
Trait Implementations§
Source§impl Clone for OpenRecoveryInfo
impl Clone for OpenRecoveryInfo
Source§fn clone(&self) -> OpenRecoveryInfo
fn clone(&self) -> OpenRecoveryInfo
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 Debug for OpenRecoveryInfo
impl Debug for OpenRecoveryInfo
Source§impl Default for OpenRecoveryInfo
impl Default for OpenRecoveryInfo
Source§fn default() -> OpenRecoveryInfo
fn default() -> OpenRecoveryInfo
Returns the “default value” for a type. Read more
impl Eq for OpenRecoveryInfo
Source§impl PartialEq for OpenRecoveryInfo
impl PartialEq for OpenRecoveryInfo
Source§fn eq(&self, other: &OpenRecoveryInfo) -> bool
fn eq(&self, other: &OpenRecoveryInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenRecoveryInfo
Auto Trait Implementations§
impl Freeze for OpenRecoveryInfo
impl RefUnwindSafe for OpenRecoveryInfo
impl Send for OpenRecoveryInfo
impl Sync for OpenRecoveryInfo
impl Unpin for OpenRecoveryInfo
impl UnsafeUnpin for OpenRecoveryInfo
impl UnwindSafe for OpenRecoveryInfo
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