pub struct Mask {
pub target: ObjID,
pub permmask: Protections,
pub ovrmask: Protections,
}
Fields§
§target: ObjID
object whose permissions will be masked.
permmask: Protections
Specifies a mask on the permissions granted by capabilties and delegations in this security context.
ovrmask: Protections
an override mask on the context’s global mask.
Implementations§
Source§impl Mask
impl Mask
pub fn new(target: ObjID, permmask: Protections, ovrmask: Protections) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mask
impl ObjSafe for Mask
impl RefUnwindSafe for Mask
impl Send for Mask
impl StoreCopy for Mask
impl Sync for Mask
impl Unpin for Mask
impl UnwindSafe for Mask
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