#[non_exhaustive]pub enum IceParameter<'a> {
Ufrag(Cow<'a, str>),
Pwd(Cow<'a, str>),
Options(Cow<'a, str>),
Mismatch,
Lite,
}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.
Implementations§
Source§impl<'a> IceParameter<'a>
impl<'a> IceParameter<'a>
Sourcepub fn into_owned(self) -> IceParameter<'static>
pub fn into_owned(self) -> IceParameter<'static>
Returns a version of self with all fields converted to owning versions.
Trait Implementations§
Source§impl<'a> Clone for IceParameter<'a>
impl<'a> Clone for IceParameter<'a>
Source§fn clone(&self) -> IceParameter<'a>
fn clone(&self) -> IceParameter<'a>
Returns a duplicate 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<'a> Debug for IceParameter<'a>
impl<'a> Debug for IceParameter<'a>
Source§impl<'a> PartialEq for IceParameter<'a>
impl<'a> PartialEq for IceParameter<'a>
Source§impl uDisplay for IceParameter<'_>
impl uDisplay for IceParameter<'_>
impl<'a> Eq for IceParameter<'a>
impl<'a> StructuralPartialEq for IceParameter<'a>
Auto Trait Implementations§
impl<'a> Freeze for IceParameter<'a>
impl<'a> RefUnwindSafe for IceParameter<'a>
impl<'a> Send for IceParameter<'a>
impl<'a> Sync for IceParameter<'a>
impl<'a> Unpin for IceParameter<'a>
impl<'a> UnwindSafe for IceParameter<'a>
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