pub struct RecoveryPage {
pub entries: Vec<RecoveryEntry>,
pub next: Option<RecoveryPosition>,
}Fields§
§entries: Vec<RecoveryEntry>§next: Option<RecoveryPosition>Implementations§
Source§impl RecoveryPage
impl RecoveryPage
pub fn check( &self, after: &RecoveryPosition, through: &RecoveryPosition, limits: ReadLimits, encoded_bytes: impl FnMut(&RecoveryEntry) -> usize, ) -> Result<(), Error>
Trait Implementations§
Source§impl Clone for RecoveryPage
impl Clone for RecoveryPage
Source§fn clone(&self) -> RecoveryPage
fn clone(&self) -> RecoveryPage
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 RecoveryPage
impl Debug for RecoveryPage
impl Eq for RecoveryPage
Source§impl MemorySize for RecoveryPage
impl MemorySize for RecoveryPage
fn memory_size(&self) -> usize
Source§const INLINE_ONLY: bool = false
const INLINE_ONLY: bool = false
True only when every value occupies exactly
size_of::<Self>() bytes,
with no separately owned allocations or additional accounting charge.Source§impl PartialEq for RecoveryPage
impl PartialEq for RecoveryPage
impl StructuralPartialEq for RecoveryPage
Auto Trait Implementations§
impl Freeze for RecoveryPage
impl RefUnwindSafe for RecoveryPage
impl Send for RecoveryPage
impl Sync for RecoveryPage
impl Unpin for RecoveryPage
impl UnsafeUnpin for RecoveryPage
impl UnwindSafe for RecoveryPage
Blanket Implementations§
impl<T> Allocation for T
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