pub enum ReadPaddingStrategy {
NoPadding,
Canonical,
Ignore,
}Expand description
Ways to handle padding when decoding
Variants§
Trait Implementations§
Source§impl Clone for ReadPaddingStrategy
impl Clone for ReadPaddingStrategy
Source§fn clone(&self) -> ReadPaddingStrategy
fn clone(&self) -> ReadPaddingStrategy
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadPaddingStrategy
impl Debug for ReadPaddingStrategy
Source§impl Hash for ReadPaddingStrategy
impl Hash for ReadPaddingStrategy
Source§impl PartialEq for ReadPaddingStrategy
impl PartialEq for ReadPaddingStrategy
impl Copy for ReadPaddingStrategy
impl Eq for ReadPaddingStrategy
impl StructuralPartialEq for ReadPaddingStrategy
Auto Trait Implementations§
impl Freeze for ReadPaddingStrategy
impl RefUnwindSafe for ReadPaddingStrategy
impl Send for ReadPaddingStrategy
impl Sync for ReadPaddingStrategy
impl Unpin for ReadPaddingStrategy
impl UnwindSafe for ReadPaddingStrategy
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