Struct vpb::InvalidKvKind
source · [−]pub struct InvalidKvKind;Trait Implementations
sourceimpl Clone for InvalidKvKind
impl Clone for InvalidKvKind
sourcefn clone(&self) -> InvalidKvKind
fn clone(&self) -> InvalidKvKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InvalidKvKind
impl Debug for InvalidKvKind
sourceimpl Default for InvalidKvKind
impl Default for InvalidKvKind
sourcefn default() -> InvalidKvKind
fn default() -> InvalidKvKind
Returns the “default value” for a type. Read more
sourceimpl Display for InvalidKvKind
impl Display for InvalidKvKind
sourceimpl Error for InvalidKvKind
impl Error for InvalidKvKind
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl Hash for InvalidKvKind
impl Hash for InvalidKvKind
sourceimpl PartialEq<InvalidKvKind> for InvalidKvKind
impl PartialEq<InvalidKvKind> for InvalidKvKind
sourcefn eq(&self, other: &InvalidKvKind) -> bool
fn eq(&self, other: &InvalidKvKind) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for InvalidKvKind
impl Eq for InvalidKvKind
impl StructuralEq for InvalidKvKind
impl StructuralPartialEq for InvalidKvKind
Auto Trait Implementations
impl RefUnwindSafe for InvalidKvKind
impl Send for InvalidKvKind
impl Sync for InvalidKvKind
impl Unpin for InvalidKvKind
impl UnwindSafe for InvalidKvKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Checksumer for T
impl<T> Checksumer for T
sourcefn checksum(&self, algorithm: ChecksumAlgorithm) -> Checksum where
Self: AsRef<[u8]>,
fn checksum(&self, algorithm: ChecksumAlgorithm) -> Checksum where
Self: AsRef<[u8]>,
Calculates checksum of data.
sourcefn verify_checksum(&self, expected: u64, algo: ChecksumAlgorithm) -> bool where
Self: AsRef<[u8]>,
fn verify_checksum(&self, expected: u64, algo: ChecksumAlgorithm) -> bool where
Self: AsRef<[u8]>,
Validates the checksum for the data against the given expected checksum.
sourceimpl<T> Compressor for T
impl<T> Compressor for T
fn compress_to(&self, dst: &mut [u8], cmp: Compression) -> Result<usize, Error> where
Self: AsRef<[u8]>,
fn compress_into_vec(&self, cmp: Compression) -> Result<Vec<u8>, Error> where
Self: AsRef<[u8]>,
fn decompress_to(&self, dst: &mut [u8], cmp: Compression) -> Result<usize, Error> where
Self: AsRef<[u8]>,
fn decompress_into_vec(&self, cmp: Compression) -> Result<Vec<u8>, Error> where
Self: AsRef<[u8]>,
fn max_encoded_len(&self, cmp: Compression) -> usize where
Self: AsRef<[u8]>,
sourceimpl<T> Encryptor for T
impl<T> Encryptor for T
sourcefn encrypt(
&mut self,
key: &[u8],
iv: &[u8],
algo: EncryptionAlgorithm
) -> Result<(), EncryptError> where
Self: AsMut<[u8]>,
fn encrypt(
&mut self,
key: &[u8],
iv: &[u8],
algo: EncryptionAlgorithm
) -> Result<(), EncryptError> where
Self: AsMut<[u8]>,
Encrypts self with IV. Can be used for both encryption and decryption. Read more
sourcefn encrypt_to_vec(
&self,
key: &[u8],
iv: &[u8],
algo: EncryptionAlgorithm
) -> Result<Vec<u8>, EncryptError> where
Self: AsRef<[u8]>,
fn encrypt_to_vec(
&self,
key: &[u8],
iv: &[u8],
algo: EncryptionAlgorithm
) -> Result<Vec<u8>, EncryptError> where
Self: AsRef<[u8]>,
Encrypts self with IV to a new Vec.
Can be used for both encryption and decryption. Read more
sourcefn encrypt_to(
&self,
dst: &mut [u8],
key: &[u8],
iv: &[u8],
algo: EncryptionAlgorithm
) -> Result<(), EncryptError> where
Self: AsRef<[u8]>,
fn encrypt_to(
&self,
dst: &mut [u8],
key: &[u8],
iv: &[u8],
algo: EncryptionAlgorithm
) -> Result<(), EncryptError> where
Self: AsRef<[u8]>,
Encrypts self with IV to dst.
Can be used for both encryption and decryption. Read more