Struct bao_tree::io::outboard::PreOrderOutboard
source · pub struct PreOrderOutboard<R> {
pub root: Hash,
pub tree: BaoTree,
pub data: R,
}
Expand description
A generic outboard in pre order
Fields§
§root: Hash
root hash
tree: BaoTree
tree defining the data
data: R
hashes with length prefix
Implementations§
source§impl<R> PreOrderOutboard<R>
impl<R> PreOrderOutboard<R>
sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Return the inner reader
Trait Implementations§
source§impl<R: Clone> Clone for PreOrderOutboard<R>
impl<R: Clone> Clone for PreOrderOutboard<R>
source§fn clone(&self) -> PreOrderOutboard<R>
fn clone(&self) -> PreOrderOutboard<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R: Debug> Debug for PreOrderOutboard<R>
impl<R: Debug> Debug for PreOrderOutboard<R>
source§impl<R: ReadAt> Outboard for PreOrderOutboard<R>
impl<R: ReadAt> Outboard for PreOrderOutboard<R>
source§impl<R: AsyncSliceReader> Outboard for PreOrderOutboard<R>
impl<R: AsyncSliceReader> Outboard for PreOrderOutboard<R>
source§impl<W: ReadAt + WriteAt> OutboardMut for PreOrderOutboard<W>
impl<W: ReadAt + WriteAt> OutboardMut for PreOrderOutboard<W>
Auto Trait Implementations§
impl<R> RefUnwindSafe for PreOrderOutboard<R>where
R: RefUnwindSafe,
impl<R> Send for PreOrderOutboard<R>where
R: Send,
impl<R> Sync for PreOrderOutboard<R>where
R: Sync,
impl<R> Unpin for PreOrderOutboard<R>where
R: Unpin,
impl<R> UnwindSafe for PreOrderOutboard<R>where
R: UnwindSafe,
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