pub enum SerializationMethod {
Json,
Bin,
Yaml,
Cbor,
}Expand description
An enum for specifying the serialization method to use when creating a new PickleDB database or loading one from a file
Variants§
Trait Implementations§
Source§impl Debug for SerializationMethod
impl Debug for SerializationMethod
Source§impl Display for SerializationMethod
impl Display for SerializationMethod
Auto Trait Implementations§
impl Freeze for SerializationMethod
impl RefUnwindSafe for SerializationMethod
impl Send for SerializationMethod
impl Sync for SerializationMethod
impl Unpin for SerializationMethod
impl UnwindSafe for SerializationMethod
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