pub struct PlainDecoder;Expand description
Plain (uncompressed) decoder.
Implementations§
Source§impl PlainDecoder
impl PlainDecoder
Sourcepub fn decode_bytes(data: &[u8]) -> Result<Vec<Vec<u8>>>
pub fn decode_bytes(data: &[u8]) -> Result<Vec<Vec<u8>>>
Decode a byte-string column.
§Errors
EncodingError::CorruptData if a length prefix runs past the end of
the payload, or if the declared total would exceed the decode ceiling.
Both are reachable from one flipped bit in a stored block, which is why
the bound is checked before the allocation rather than after it.
Trait Implementations§
Source§impl Clone for PlainDecoder
impl Clone for PlainDecoder
Source§fn clone(&self) -> PlainDecoder
fn clone(&self) -> PlainDecoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlainDecoder
Auto Trait Implementations§
impl Freeze for PlainDecoder
impl RefUnwindSafe for PlainDecoder
impl Send for PlainDecoder
impl Sync for PlainDecoder
impl Unpin for PlainDecoder
impl UnsafeUnpin for PlainDecoder
impl UnwindSafe for PlainDecoder
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