pub struct RrvBucketDescriptor {
pub kind: RrvBucketKind,
pub file_offset: u64,
pub initial_rrv_identifier: u32,
}Expand description
One entry in the BDB: where an RRV bucket lives plus the RRV-identifier counter it starts from.
Fields§
§kind: RrvBucketKindWhether this RRV bucket holds data or non-data NoteIDs.
file_offset: u64Byte offset of the RRV bucket within the file.
initial_rrv_identifier: u32The RRV identifier the bucket’s first entry corresponds to. (The
RRV bucket header carries its own initial_rrv_identifier too; this
is the BDB’s record of it.)
Trait Implementations§
Source§impl Clone for RrvBucketDescriptor
impl Clone for RrvBucketDescriptor
Source§fn clone(&self) -> RrvBucketDescriptor
fn clone(&self) -> RrvBucketDescriptor
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 moreimpl Copy for RrvBucketDescriptor
Source§impl Debug for RrvBucketDescriptor
impl Debug for RrvBucketDescriptor
impl Eq for RrvBucketDescriptor
Source§impl PartialEq for RrvBucketDescriptor
impl PartialEq for RrvBucketDescriptor
Source§fn eq(&self, other: &RrvBucketDescriptor) -> bool
fn eq(&self, other: &RrvBucketDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RrvBucketDescriptor
Auto Trait Implementations§
impl Freeze for RrvBucketDescriptor
impl RefUnwindSafe for RrvBucketDescriptor
impl Send for RrvBucketDescriptor
impl Sync for RrvBucketDescriptor
impl Unpin for RrvBucketDescriptor
impl UnsafeUnpin for RrvBucketDescriptor
impl UnwindSafe for RrvBucketDescriptor
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