pub struct IntegerDecoder;Expand description
Integer column decoder.
Implementations§
Source§impl IntegerDecoder
impl IntegerDecoder
Sourcepub fn decode_i64(data: &[u8]) -> Result<Vec<i64>>
pub fn decode_i64(data: &[u8]) -> Result<Vec<i64>>
Decode an integer-encoded byte buffer back to i64 values.
§Errors
Returns EncodingError::CorruptData if the data is malformed.
Sourcepub fn decode_u64(data: &[u8]) -> Result<Vec<u64>>
pub fn decode_u64(data: &[u8]) -> Result<Vec<u64>>
Decode an integer-encoded byte buffer back to u64 values.
§Errors
Returns EncodingError::CorruptData if the data is malformed.
Trait Implementations§
Source§impl Clone for IntegerDecoder
impl Clone for IntegerDecoder
Source§fn clone(&self) -> IntegerDecoder
fn clone(&self) -> IntegerDecoder
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 IntegerDecoder
Auto Trait Implementations§
impl Freeze for IntegerDecoder
impl RefUnwindSafe for IntegerDecoder
impl Send for IntegerDecoder
impl Sync for IntegerDecoder
impl Unpin for IntegerDecoder
impl UnsafeUnpin for IntegerDecoder
impl UnwindSafe for IntegerDecoder
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