pub enum OutputKind {
Key,
Value,
KeyValue,
}Variants§
Implementations§
Source§impl OutputKind
impl OutputKind
pub fn write( &self, writer: &mut impl Write, key: &Slice, value: &Slice, affixes: &OutputAffixes, ) -> Result<(), OutputKindWriteError>
Trait Implementations§
Source§impl Clone for OutputKind
impl Clone for OutputKind
Source§fn clone(&self) -> OutputKind
fn clone(&self) -> OutputKind
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 OutputKind
impl Debug for OutputKind
Source§impl Default for OutputKind
impl Default for OutputKind
Source§fn default() -> OutputKind
fn default() -> OutputKind
Returns the “default value” for a type. Read more
Source§impl ValueEnum for OutputKind
impl ValueEnum for OutputKind
impl Copy for OutputKind
Auto Trait Implementations§
impl Freeze for OutputKind
impl RefUnwindSafe for OutputKind
impl Send for OutputKind
impl Sync for OutputKind
impl Unpin for OutputKind
impl UnsafeUnpin for OutputKind
impl UnwindSafe for OutputKind
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