Enum convergence::protocol::FormatCode
source · pub enum FormatCode {
Text,
Binary,
}
Expand description
Describes how to format a given value or set of values.
Variants
Text
Use the stable text representation.
Binary
Use the less-stable binary representation.
Trait Implementations
sourceimpl Clone for FormatCode
impl Clone for FormatCode
sourcefn clone(&self) -> FormatCode
fn clone(&self) -> FormatCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FormatCode
impl Debug for FormatCode
sourceimpl TryFrom<i16> for FormatCode
impl TryFrom<i16> for FormatCode
impl Copy for FormatCode
Auto Trait Implementations
impl RefUnwindSafe for FormatCode
impl Send for FormatCode
impl Sync for FormatCode
impl Unpin for FormatCode
impl UnwindSafe for FormatCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more