pub struct BinTree<VA: DictValAdapter<T>, T: TLB>(/* private fields */);Implementations§
Source§impl<VA: DictValAdapter<T>, T: TLB> BinTree<VA, T>
impl<VA: DictValAdapter<T>, T: TLB> BinTree<VA, T>
pub fn new() -> Self
pub fn read( parser: &mut CellParser<'_>, ) -> Result<HashMap<ShardPfx, T>, TLCoreError>
pub fn write( builder: &mut CellBuilder, data: &HashMap<ShardPfx, T>, ) -> Result<(), TLCoreError>
Trait Implementations§
Auto Trait Implementations§
impl<VA, T> Freeze for BinTree<VA, T>
impl<VA, T> RefUnwindSafe for BinTree<VA, T>where
VA: RefUnwindSafe,
T: RefUnwindSafe,
impl<VA, T> Send for BinTree<VA, T>
impl<VA, T> Sync for BinTree<VA, T>
impl<VA, T> Unpin for BinTree<VA, T>
impl<VA, T> UnsafeUnpin for BinTree<VA, T>
impl<VA, T> UnwindSafe for BinTree<VA, T>where
VA: UnwindSafe,
T: 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