pub struct ZkcDecompressor;Expand description
Zero-knowledge compression decoder.
Implementations§
Source§impl ZkcDecompressor
impl ZkcDecompressor
pub fn new() -> Self
Sourcepub fn decompress(&self, compressed: &CompressedShard) -> Result<Vec<u8>>
pub fn decompress(&self, compressed: &CompressedShard) -> Result<Vec<u8>>
Decompress a shard.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZkcDecompressor
impl RefUnwindSafe for ZkcDecompressor
impl Send for ZkcDecompressor
impl Sync for ZkcDecompressor
impl Unpin for ZkcDecompressor
impl UnsafeUnpin for ZkcDecompressor
impl UnwindSafe for ZkcDecompressor
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