pub enum Format {
Int8,
Int16,
Int32,
Int64,
Float32,
Float64,
String,
}Expand description
Possible formats for the data in a stream as given in the specification.
Variants§
Int8
signed 8-bit integer
Int16
signed 16-bit integer
Int32
signed 32-bit integer
Int64
signed 64-bit integer
Float32
32-bit floating point number
Float64
64-bit floating point number
String
UTF-8 encoded string, for example for event markers.
Trait Implementations§
impl Copy for Format
impl Eq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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