pub struct Info {
pub length: u64,
pub byte_length: u64,
pub contiguous_length: u64,
pub fork: u64,
pub writeable: bool,
}
Expand description
Info about the hypercore
Fields§
§length: u64
Length of the hypercore
byte_length: u64
Byte length of the hypercore
contiguous_length: u64
Continuous length of entries in the hypercore with data starting from index 0
fork: u64
Fork index. 0 if hypercore not forked.
writeable: bool
True if hypercore is writeable, false if read-only
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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