pub struct AttachOptions {
pub filter: Option<PathFilter>,
pub on_error: Option<ErrorCallback>,
}Expand description
Options for attach_snapshot_storage.
Fields§
§filter: Option<PathFilter>Per-path filter. Return true to persist changes for this path.
None means persist all paths.
on_error: Option<ErrorCallback>Error callback invoked when a flush fails.
Trait Implementations§
Source§impl Default for AttachOptions
impl Default for AttachOptions
Source§fn default() -> AttachOptions
fn default() -> AttachOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AttachOptions
impl !RefUnwindSafe for AttachOptions
impl Send for AttachOptions
impl Sync for AttachOptions
impl Unpin for AttachOptions
impl UnsafeUnpin for AttachOptions
impl !UnwindSafe for AttachOptions
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