pub struct LeftBehind { /* private fields */ }Expand description
The items a failed copy left at the destination — one of them at least, always.
A plain Vec here would let EngineError::CopyNotUndone be built naming nothing
still there, and naming what is still there is the whole reason that failure is
distinct from the one it wraps: a user told only that the copy could not be undone,
and then handed an empty list, has been told about a destination nobody described to
them, which is exactly the blind retry this mechanism exists to remove. The first id
is a field of its own, so the empty case cannot be written down.
Implementations§
Trait Implementations§
Source§impl Clone for LeftBehind
impl Clone for LeftBehind
Source§fn clone(&self) -> LeftBehind
fn clone(&self) -> LeftBehind
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 moreSource§impl Debug for LeftBehind
impl Debug for LeftBehind
Source§impl Display for LeftBehind
impl Display for LeftBehind
Source§impl PartialEq for LeftBehind
impl PartialEq for LeftBehind
impl StructuralPartialEq for LeftBehind
Auto Trait Implementations§
impl Freeze for LeftBehind
impl RefUnwindSafe for LeftBehind
impl Send for LeftBehind
impl Sync for LeftBehind
impl Unpin for LeftBehind
impl UnsafeUnpin for LeftBehind
impl UnwindSafe for LeftBehind
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