#[non_exhaustive]pub struct DecodeOptions {
pub reject_non_alphabet: bool,
}Expand description
Decoder policy options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.reject_non_alphabet: boolWhether bytes outside the basE91 alphabet should be rejected.
Implementations§
Source§impl DecodeOptions
impl DecodeOptions
Trait Implementations§
Source§impl Clone for DecodeOptions
impl Clone for DecodeOptions
impl Copy for DecodeOptions
Source§impl Debug for DecodeOptions
impl Debug for DecodeOptions
Source§impl Default for DecodeOptions
impl Default for DecodeOptions
impl Eq for DecodeOptions
Source§impl PartialEq for DecodeOptions
impl PartialEq for DecodeOptions
impl StructuralPartialEq for DecodeOptions
Auto Trait Implementations§
impl Freeze for DecodeOptions
impl RefUnwindSafe for DecodeOptions
impl Send for DecodeOptions
impl Sync for DecodeOptions
impl Unpin for DecodeOptions
impl UnsafeUnpin for DecodeOptions
impl UnwindSafe for DecodeOptions
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