pub struct DecodeOptions { /* private fields */ }Expand description
Configuration for the current decode operation.
Implementations§
Source§impl DecodeOptions
impl DecodeOptions
Sourcepub const fn flush_after_decode(self, value: Flush) -> Self
pub const fn flush_after_decode(self, value: Flush) -> Self
Sets the flush behavior for the upcoming decode operation.
Trait Implementations§
Source§impl Clone for DecodeOptions
impl Clone for DecodeOptions
Source§fn clone(&self) -> DecodeOptions
fn clone(&self) -> DecodeOptions
Returns a duplicate 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 DecodeOptions
impl Debug for DecodeOptions
Source§impl Default for DecodeOptions
impl Default for DecodeOptions
Source§fn default() -> DecodeOptions
fn default() -> DecodeOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for DecodeOptions
impl PartialEq for DecodeOptions
impl Eq 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