Struct LocalTarget
pub struct LocalTarget { /* private fields */ }Expand description
A directory as a backup target: for tests, or a mounted volume.
Each object is written to a temporary file, flushed, and renamed into
place. Before a manifest is installed, the directories that gained
objects are synced and the drive is flushed once
(FlushMethod::platform_default), so the objects are durable before
the manifest that names them.
Implementations§
§impl LocalTarget
impl LocalTarget
Trait Implementations§
§impl Target for LocalTarget
impl Target for LocalTarget
Auto Trait Implementations§
impl !Freeze for LocalTarget
impl RefUnwindSafe for LocalTarget
impl Send for LocalTarget
impl Sync for LocalTarget
impl Unpin for LocalTarget
impl UnsafeUnpin for LocalTarget
impl UnwindSafe for LocalTarget
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