pub struct WithKey<K, Extra> {
pub key: K,
pub extra: Extra,
}Fields§
§key: K§extra: ExtraTrait Implementations§
impl<K: Key, T: Object<Extra>, Extra: 'static + Send + Sync + Clone> Object<WithKey<K, Extra>> for Encrypted<K, T>
Auto Trait Implementations§
impl<K, Extra> Freeze for WithKey<K, Extra>
impl<K, Extra> RefUnwindSafe for WithKey<K, Extra>where
K: RefUnwindSafe,
Extra: RefUnwindSafe,
impl<K, Extra> Send for WithKey<K, Extra>
impl<K, Extra> Sync for WithKey<K, Extra>
impl<K, Extra> Unpin for WithKey<K, Extra>
impl<K, Extra> UnwindSafe for WithKey<K, Extra>where
K: UnwindSafe,
Extra: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsAny for T
impl<T> AsAny for T
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