pub enum OptionsList<C: AsRef<[Options]>, E: ImmutableData> {
Cleartext(C),
Encrypted(E),
None,
}
Expand description
Generic list of options over generic buffers
Variants§
Implementations§
Trait Implementations§
Source§impl<C: Clone + AsRef<[Options]>, E: Clone + ImmutableData> Clone for OptionsList<C, E>
impl<C: Clone + AsRef<[Options]>, E: Clone + ImmutableData> Clone for OptionsList<C, E>
Source§fn clone(&self) -> OptionsList<C, E>
fn clone(&self) -> OptionsList<C, E>
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<C: Debug + AsRef<[Options]>, E: Debug + ImmutableData> Debug for OptionsList<C, E>
impl<C: Debug + AsRef<[Options]>, E: Debug + ImmutableData> Debug for OptionsList<C, E>
Source§impl<'de, C, E> Deserialize<'de> for OptionsList<C, E>
impl<'de, C, E> Deserialize<'de> for OptionsList<C, E>
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<C: AsRef<[Options]>, E: ImmutableData> EncodeEncrypted for OptionsList<C, E>
impl<C: AsRef<[Options]>, E: ImmutableData> EncodeEncrypted for OptionsList<C, E>
Source§impl<C: PartialEq + AsRef<[Options]>, E: PartialEq + ImmutableData> PartialEq for OptionsList<C, E>
impl<C: PartialEq + AsRef<[Options]>, E: PartialEq + ImmutableData> PartialEq for OptionsList<C, E>
Source§impl<C, E> Serialize for OptionsList<C, E>
impl<C, E> Serialize for OptionsList<C, E>
impl<C: AsRef<[Options]>, E: ImmutableData> StructuralPartialEq for OptionsList<C, E>
Auto Trait Implementations§
impl<C, E> Freeze for OptionsList<C, E>
impl<C, E> RefUnwindSafe for OptionsList<C, E>where
C: RefUnwindSafe,
E: RefUnwindSafe,
impl<C, E> Send for OptionsList<C, E>
impl<C, E> Sync for OptionsList<C, E>
impl<C, E> Unpin for OptionsList<C, E>
impl<C, E> UnwindSafe for OptionsList<C, E>where
C: UnwindSafe,
E: UnwindSafe,
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