pub enum CreateOutcome {
Created,
AlreadyExists,
}Expand description
What create did (SP5a design §3).
Variants§
Created
Every path the adapter owns was ensured; a missing one was created.
AlreadyExists
Every path already existed, so nothing was written.
Trait Implementations§
Source§impl Clone for CreateOutcome
impl Clone for CreateOutcome
Source§fn clone(&self) -> CreateOutcome
fn clone(&self) -> CreateOutcome
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 moreimpl Copy for CreateOutcome
Source§impl Debug for CreateOutcome
impl Debug for CreateOutcome
impl Eq for CreateOutcome
Source§impl PartialEq for CreateOutcome
impl PartialEq for CreateOutcome
impl StructuralPartialEq for CreateOutcome
Auto Trait Implementations§
impl Freeze for CreateOutcome
impl RefUnwindSafe for CreateOutcome
impl Send for CreateOutcome
impl Sync for CreateOutcome
impl Unpin for CreateOutcome
impl UnsafeUnpin for CreateOutcome
impl UnwindSafe for CreateOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.