Enum iroh_docs::store::ImportNamespaceOutcome
source · pub enum ImportNamespaceOutcome {
Inserted,
Upgraded,
NoChange,
}
Expand description
Outcome of Store::import_namespace
Variants§
Inserted
The namespace did not exist before and is now inserted.
Upgraded
The namespace existed and now has an upgraded capability.
NoChange
The namespace existed and its capability remains unchanged.
Trait Implementations§
source§impl Clone for ImportNamespaceOutcome
impl Clone for ImportNamespaceOutcome
source§fn clone(&self) -> ImportNamespaceOutcome
fn clone(&self) -> ImportNamespaceOutcome
Returns a copy 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 moresource§impl Debug for ImportNamespaceOutcome
impl Debug for ImportNamespaceOutcome
impl Copy for ImportNamespaceOutcome
Auto Trait Implementations§
impl Freeze for ImportNamespaceOutcome
impl RefUnwindSafe for ImportNamespaceOutcome
impl Send for ImportNamespaceOutcome
impl Sync for ImportNamespaceOutcome
impl Unpin for ImportNamespaceOutcome
impl UnwindSafe for ImportNamespaceOutcome
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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