pub enum StorageFormat {
Text,
Binary,
}Expand description
Durable snapshot encoding. Both formats share the same associative graph.
Variants§
Text
Line-oriented Links Notation containing readable JSON records.
Binary
Length-prefixed binary snapshot.
Trait Implementations§
Source§impl Clone for StorageFormat
impl Clone for StorageFormat
Source§fn clone(&self) -> StorageFormat
fn clone(&self) -> StorageFormat
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 StorageFormat
Source§impl Debug for StorageFormat
impl Debug for StorageFormat
Source§impl Display for StorageFormat
impl Display for StorageFormat
impl Eq for StorageFormat
Source§impl FromStr for StorageFormat
impl FromStr for StorageFormat
Source§impl PartialEq for StorageFormat
impl PartialEq for StorageFormat
impl StructuralPartialEq for StorageFormat
Auto Trait Implementations§
impl Freeze for StorageFormat
impl RefUnwindSafe for StorageFormat
impl Send for StorageFormat
impl Sync for StorageFormat
impl Unpin for StorageFormat
impl UnsafeUnpin for StorageFormat
impl UnwindSafe for StorageFormat
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