pub enum RepositoryCreation {
Allowed,
RefusedEmptyPrefix,
}Expand description
Whether a repository may be created at a storage location.
Variants§
Allowed
A new repository may be created here.
RefusedEmptyPrefix
Refused: this is a cloud object store addressed at an empty prefix (the bucket root). New empty-prefix repositories are no longer supported, pre-existing ones can still be opened and updated.
Trait Implementations§
Source§impl Clone for RepositoryCreation
impl Clone for RepositoryCreation
Source§impl Debug for RepositoryCreation
impl Debug for RepositoryCreation
impl Eq for RepositoryCreation
Source§impl PartialEq for RepositoryCreation
impl PartialEq for RepositoryCreation
impl StructuralPartialEq for RepositoryCreation
Auto Trait Implementations§
impl Freeze for RepositoryCreation
impl RefUnwindSafe for RepositoryCreation
impl Send for RepositoryCreation
impl Sync for RepositoryCreation
impl Unpin for RepositoryCreation
impl UnsafeUnpin for RepositoryCreation
impl UnwindSafe for RepositoryCreation
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more