pub enum KeyWrapRecordSource {
None,
Fixed(Vec<RecipientRecordV1>),
Callback(Arc<dyn Fn() -> Result<Vec<RecipientRecordV1>, FormatError> + Send + Sync>),
}Variants§
None
Fixed(Vec<RecipientRecordV1>)
Callback(Arc<dyn Fn() -> Result<Vec<RecipientRecordV1>, FormatError> + Send + Sync>)
Implementations§
Source§impl KeyWrapRecordSource
impl KeyWrapRecordSource
Trait Implementations§
Source§impl Clone for KeyWrapRecordSource
impl Clone for KeyWrapRecordSource
Source§fn clone(&self) -> KeyWrapRecordSource
fn clone(&self) -> KeyWrapRecordSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for KeyWrapRecordSource
impl Default for KeyWrapRecordSource
Source§fn default() -> KeyWrapRecordSource
fn default() -> KeyWrapRecordSource
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for KeyWrapRecordSource
impl !UnwindSafe for KeyWrapRecordSource
impl Freeze for KeyWrapRecordSource
impl Send for KeyWrapRecordSource
impl Sync for KeyWrapRecordSource
impl Unpin for KeyWrapRecordSource
impl UnsafeUnpin for KeyWrapRecordSource
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