pub struct CorruptionReporter { /* private fields */ }Expand description
| Notified when log reader encounters | corruption. |
Trait Implementations§
Source§impl LogReaderReporter for CorruptionReporter
impl LogReaderReporter for CorruptionReporter
Source§fn corruption(&mut self, bytes: usize, status: &Status)
fn corruption(&mut self, bytes: usize, status: &Status)
| Some corruption was detected. “size”
| is the approximate number of bytes dropped
| due to the corruption.
|
Auto Trait Implementations§
impl Freeze for CorruptionReporter
impl !RefUnwindSafe for CorruptionReporter
impl !Send for CorruptionReporter
impl !Sync for CorruptionReporter
impl Unpin for CorruptionReporter
impl !UnwindSafe for CorruptionReporter
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