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: u64Length of the hypercore
byte_length: u64Byte length of the hypercore
contiguous_length: u64Continuous length of entries in the hypercore with data starting from index 0
fork: u64Fork index. 0 if hypercore not forked.
writeable: boolTrue if hypercore is writeable, false if read-only
Trait Implementations§
Auto Trait Implementations§
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