#[non_exhaustive]pub enum ActOpt {
Mirred(Nla),
Nat(Nla),
Other(DefaultNla),
}
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.
Trait Implementations§
source§impl<'a, T, S> ParseableParametrized<NlaBuffer<&'a T>, S> for ActOptwhere
T: AsRef<[u8]> + ?Sized,
S: AsRef<str>,
impl<'a, T, S> ParseableParametrized<NlaBuffer<&'a T>, S> for ActOptwhere T: AsRef<[u8]> + ?Sized, S: AsRef<str>,
source§fn parse_with_param(
buf: &NlaBuffer<&'a T>,
kind: S
) -> Result<Self, DecodeError>
fn parse_with_param( buf: &NlaBuffer<&'a T>, kind: S ) -> Result<Self, DecodeError>
Deserialize the current type.
source§impl PartialEq<ActOpt> for ActOpt
impl PartialEq<ActOpt> for ActOpt
impl Eq for ActOpt
impl StructuralEq for ActOpt
impl StructuralPartialEq for ActOpt
Auto Trait Implementations§
impl RefUnwindSafe for ActOpt
impl Send for ActOpt
impl Sync for ActOpt
impl Unpin for ActOpt
impl UnwindSafe for ActOpt
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