pub enum CheckpointStorage {
Disabled,
Filesystem {
dir: String,
},
SurrealDB {
table_name: String,
namespace: String,
database: String,
},
}Expand description
Checkpoint storage backend
Variants§
Disabled
No checkpoint storage
Filesystem
Filesystem storage at specified directory
SurrealDB
SurrealDB storage in specified table
Trait Implementations§
Source§impl Clone for CheckpointStorage
impl Clone for CheckpointStorage
Source§fn clone(&self) -> CheckpointStorage
fn clone(&self) -> CheckpointStorage
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 moreAuto Trait Implementations§
impl Freeze for CheckpointStorage
impl RefUnwindSafe for CheckpointStorage
impl Send for CheckpointStorage
impl Sync for CheckpointStorage
impl Unpin for CheckpointStorage
impl UnsafeUnpin for CheckpointStorage
impl UnwindSafe for CheckpointStorage
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