pub struct Mapping<T> {
pub full: T,
pub reduced: T,
}
Expand description
Associate instructions for how to deal with various Trust
levels as they are encountered in the wild.
Fields
full: T
The value for fully trusted resources.
reduced: T
The value for resources with reduced trust.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Mapping<T> where
T: RefUnwindSafe,
impl<T> Send for Mapping<T> where
T: Send,
impl<T> Sync for Mapping<T> where
T: Sync,
impl<T> Unpin for Mapping<T> where
T: Unpin,
impl<T> UnwindSafe for Mapping<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more