pub struct SecCtx { /* private fields */ }
Implementations§
Source§impl SecCtx
impl SecCtx
pub fn attached_ctx() -> SecCtx
pub fn new( object_create_spec: ObjectCreate, global_mask: Protections, flags: SecCtxFlags, ) -> Result<Self, TwzError>
pub fn insert_cap(&self, cap: Cap) -> Result<(), TwzError>
pub fn insert_del(&self, _del: Del) -> Result<(), TwzError>
pub fn id(&self) -> ObjID
pub fn remove_cap(&mut self)
pub fn remove_del(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SecCtx
impl !ObjSafe for SecCtx
impl RefUnwindSafe for SecCtx
impl Send for SecCtx
impl StoreCopy for SecCtx
impl Sync for SecCtx
impl Unpin for SecCtx
impl UnwindSafe for SecCtx
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