Struct monitor_api::CompartmentInfo
source · pub struct CompartmentInfo<'a> {
pub name: String,
pub id: ObjID,
pub sctx: ObjID,
pub flags: CompartmentFlags,
/* private fields */
}
Expand description
Information about a compartment.
Fields§
§name: String
The name of the compartment.
id: ObjID
The instance ID.
sctx: ObjID
The security context.
flags: CompartmentFlags
The compartment flags and status.
Trait Implementations§
source§impl<'a> Clone for CompartmentInfo<'a>
impl<'a> Clone for CompartmentInfo<'a>
source§fn clone(&self) -> CompartmentInfo<'a>
fn clone(&self) -> CompartmentInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> !Crossing for CompartmentInfo<'a>
impl<'a> !ObjSafe for CompartmentInfo<'a>
impl<'a> RefUnwindSafe for CompartmentInfo<'a>
impl<'a> Send for CompartmentInfo<'a>
impl<'a> Sync for CompartmentInfo<'a>
impl<'a> Unpin for CompartmentInfo<'a>
impl<'a> UnwindSafe for CompartmentInfo<'a>
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