pub enum WalWarning {
Show 14 variants
PartialHeader {
offset: u64,
},
PartialPayload {
offset: u64,
expected: usize,
actual: usize,
},
BadMagic {
offset: u64,
found: u32,
},
UnsupportedVersion {
offset: u64,
found: u16,
},
BadHeaderLength {
offset: u64,
found: u16,
},
UnknownFlags {
offset: u64,
found: u16,
},
UnknownRecordType {
offset: u64,
found: u16,
},
OversizedPayload {
offset: u64,
found: u32,
max: u32,
},
BadHeaderChecksum {
offset: u64,
expected: u32,
actual: u32,
},
BadPayloadChecksum {
offset: u64,
expected: u32,
actual: u32,
},
MalformedPayload {
offset: u64,
message: String,
},
NonMonotonicLsn {
offset: u64,
expected: u64,
found: u64,
},
TailTruncated {
path: String,
valid_len: u64,
truncated_bytes: u64,
},
TrailingSegmentsIgnored {
count: usize,
},
}Variants§
PartialHeader
PartialPayload
BadMagic
UnsupportedVersion
BadHeaderLength
UnknownFlags
UnknownRecordType
OversizedPayload
BadHeaderChecksum
BadPayloadChecksum
MalformedPayload
NonMonotonicLsn
TailTruncated
TrailingSegmentsIgnored
Trait Implementations§
Source§impl Clone for WalWarning
impl Clone for WalWarning
Source§fn clone(&self) -> WalWarning
fn clone(&self) -> WalWarning
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 WalWarning
impl Debug for WalWarning
Source§impl Display for WalWarning
impl Display for WalWarning
impl Eq for WalWarning
Source§impl PartialEq for WalWarning
impl PartialEq for WalWarning
Source§fn eq(&self, other: &WalWarning) -> bool
fn eq(&self, other: &WalWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WalWarning
Auto Trait Implementations§
impl Freeze for WalWarning
impl RefUnwindSafe for WalWarning
impl Send for WalWarning
impl Sync for WalWarning
impl Unpin for WalWarning
impl UnsafeUnpin for WalWarning
impl UnwindSafe for WalWarning
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