pub enum EncodeMode {
Write,
Flush,
End,
}Expand description
The step one StreamEncoder::encode call takes.
Variants§
Trait Implementations§
Source§impl Clone for EncodeMode
impl Clone for EncodeMode
Source§fn clone(&self) -> EncodeMode
fn clone(&self) -> EncodeMode
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 EncodeMode
Source§impl Debug for EncodeMode
impl Debug for EncodeMode
impl Eq for EncodeMode
Source§impl PartialEq for EncodeMode
impl PartialEq for EncodeMode
Source§fn eq(&self, other: &EncodeMode) -> bool
fn eq(&self, other: &EncodeMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EncodeMode
Auto Trait Implementations§
impl Freeze for EncodeMode
impl RefUnwindSafe for EncodeMode
impl Send for EncodeMode
impl Sync for EncodeMode
impl Unpin for EncodeMode
impl UnsafeUnpin for EncodeMode
impl UnwindSafe for EncodeMode
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