pub enum RepositoryRegistrationAliasConflictMode {
ErrorOut,
Replace,
}
Expand description
Convenience wrapper for the FIDL RepositoryRegistrationAliasConflictMode.
Variants§
ErrorOut
When conflicting aliases found during registration process, error out.
Replace
When conflicting aliases found during registration process, replace previous rule with current.
Trait Implementations§
source§impl Clone for RepositoryRegistrationAliasConflictMode
impl Clone for RepositoryRegistrationAliasConflictMode
source§fn clone(&self) -> RepositoryRegistrationAliasConflictMode
fn clone(&self) -> RepositoryRegistrationAliasConflictMode
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<'de> Deserialize<'de> for RepositoryRegistrationAliasConflictMode
impl<'de> Deserialize<'de> for RepositoryRegistrationAliasConflictMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for RepositoryRegistrationAliasConflictMode
impl Ord for RepositoryRegistrationAliasConflictMode
source§fn cmp(&self, other: &RepositoryRegistrationAliasConflictMode) -> Ordering
fn cmp(&self, other: &RepositoryRegistrationAliasConflictMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RepositoryRegistrationAliasConflictMode
impl PartialEq for RepositoryRegistrationAliasConflictMode
source§fn eq(&self, other: &RepositoryRegistrationAliasConflictMode) -> bool
fn eq(&self, other: &RepositoryRegistrationAliasConflictMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RepositoryRegistrationAliasConflictMode
impl PartialOrd for RepositoryRegistrationAliasConflictMode
source§fn partial_cmp(
&self,
other: &RepositoryRegistrationAliasConflictMode
) -> Option<Ordering>
fn partial_cmp( &self, other: &RepositoryRegistrationAliasConflictMode ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RepositoryRegistrationAliasConflictMode
impl StructuralPartialEq for RepositoryRegistrationAliasConflictMode
Auto Trait Implementations§
impl Freeze for RepositoryRegistrationAliasConflictMode
impl RefUnwindSafe for RepositoryRegistrationAliasConflictMode
impl Send for RepositoryRegistrationAliasConflictMode
impl Sync for RepositoryRegistrationAliasConflictMode
impl Unpin for RepositoryRegistrationAliasConflictMode
impl UnwindSafe for RepositoryRegistrationAliasConflictMode
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