pub struct CommitResult {
pub committed: usize,
pub paths: Vec<PathBuf>,
}Expand description
Result returned by a successful StagingBackend::commit.
Fields§
§committed: usizeNumber of writes successfully committed to disk.
paths: Vec<PathBuf>The target paths that were written.
Trait Implementations§
Source§impl Clone for CommitResult
impl Clone for CommitResult
Source§fn clone(&self) -> CommitResult
fn clone(&self) -> CommitResult
Returns a duplicate of the value. Read more
1.0.0 · 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 CommitResult
impl RefUnwindSafe for CommitResult
impl Send for CommitResult
impl Sync for CommitResult
impl Unpin for CommitResult
impl UnsafeUnpin for CommitResult
impl UnwindSafe for CommitResult
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