#[non_exhaustive]pub enum RepositoryLoadKind {
Environment,
Path,
}
Expand description
The kind of repository load kind.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Environment
Repository was loaded from the path provided through an environment variable
Path
Repository was loaded from a direct path
Trait Implementations§
Source§impl Clone for RepositoryLoadKind
impl Clone for RepositoryLoadKind
Source§fn clone(&self) -> RepositoryLoadKind
fn clone(&self) -> RepositoryLoadKind
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 RepositoryLoadKind
impl Debug for RepositoryLoadKind
Source§impl Display for RepositoryLoadKind
impl Display for RepositoryLoadKind
Source§impl PartialEq for RepositoryLoadKind
impl PartialEq for RepositoryLoadKind
impl Copy for RepositoryLoadKind
impl Eq for RepositoryLoadKind
impl StructuralPartialEq for RepositoryLoadKind
Auto Trait Implementations§
impl Freeze for RepositoryLoadKind
impl RefUnwindSafe for RepositoryLoadKind
impl Send for RepositoryLoadKind
impl Sync for RepositoryLoadKind
impl Unpin for RepositoryLoadKind
impl UnwindSafe for RepositoryLoadKind
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