Enum bao_tree::io::sync::DecodeResponseItem
source · pub enum DecodeResponseItem {
Header(Header),
Parent(Parent),
Leaf(Leaf),
}
Expand description
An item of a decode response
Variants§
Header(Header)
We got the header and now know how big the overall size is
Actually this is just how big the remote side claims the overall size is. In an adversarial setting, this could be wrong.
Parent(Parent)
a parent node, to update the outboard
Leaf(Leaf)
a leaf node, to write to the file
Trait Implementations§
source§impl Debug for DecodeResponseItem
impl Debug for DecodeResponseItem
source§impl From<Header> for DecodeResponseItem
impl From<Header> for DecodeResponseItem
source§impl From<Leaf> for DecodeResponseItem
impl From<Leaf> for DecodeResponseItem
Auto Trait Implementations§
impl RefUnwindSafe for DecodeResponseItem
impl Send for DecodeResponseItem
impl Sync for DecodeResponseItem
impl Unpin for DecodeResponseItem
impl UnwindSafe for DecodeResponseItem
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