pub struct EmptyOutboard {
pub tree: BaoTree,
pub root: Hash,
}
Expand description
An empty outboard, that just returns 0 hashes for all nodes.
Also allows you to write and will immediately discard the data, a bit like /dev/null
Fields§
§tree: BaoTree
tree defining the geometry
root: Hash
root hash
Trait Implementations§
Source§impl Debug for EmptyOutboard
impl Debug for EmptyOutboard
Source§impl Outboard for EmptyOutboard
impl Outboard for EmptyOutboard
Source§impl Outboard for EmptyOutboard
impl Outboard for EmptyOutboard
Source§impl OutboardMut for EmptyOutboard
impl OutboardMut for EmptyOutboard
Auto Trait Implementations§
impl Freeze for EmptyOutboard
impl RefUnwindSafe for EmptyOutboard
impl Send for EmptyOutboard
impl Sync for EmptyOutboard
impl Unpin for EmptyOutboard
impl UnwindSafe for EmptyOutboard
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