Enum sel4::ObjectBlueprint
source · pub enum ObjectBlueprint {
Untyped {
size_bits: usize,
},
Endpoint,
Notification,
CNode {
size_bits: usize,
},
Tcb,
SchedContext {
size_bits: usize,
},
Reply,
Arch(ObjectBlueprintArch),
}
Expand description
An object description for Untyped::untyped_retype
.
Variants§
Untyped
Fields
§
size_bits: usize
Endpoint
Notification
CNode
Fields
§
size_bits: usize
Tcb
SchedContext
Fields
§
size_bits: usize
Reply
Arch(ObjectBlueprintArch)
Implementations§
source§impl ObjectBlueprint
impl ObjectBlueprint
pub const fn ty(self) -> ObjectType
pub const fn api_size_bits(self) -> Option<usize>
pub const fn physical_size_bits(self) -> usize
pub const fn asid_pool() -> Self
Trait Implementations§
source§impl Clone for ObjectBlueprint
impl Clone for ObjectBlueprint
source§fn clone(&self) -> ObjectBlueprint
fn clone(&self) -> ObjectBlueprint
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectBlueprint
impl Debug for ObjectBlueprint
source§impl From<ObjectBlueprintAArch64> for ObjectBlueprint
impl From<ObjectBlueprintAArch64> for ObjectBlueprint
source§fn from(ty: ObjectBlueprintSeL4Arch) -> Self
fn from(ty: ObjectBlueprintSeL4Arch) -> Self
Converts to this type from the input type.
source§impl From<ObjectBlueprintArm> for ObjectBlueprint
impl From<ObjectBlueprintArm> for ObjectBlueprint
source§fn from(blueprint: ObjectBlueprintArch) -> Self
fn from(blueprint: ObjectBlueprintArch) -> Self
Converts to this type from the input type.
source§impl Ord for ObjectBlueprint
impl Ord for ObjectBlueprint
source§impl PartialEq for ObjectBlueprint
impl PartialEq for ObjectBlueprint
source§fn eq(&self, other: &ObjectBlueprint) -> bool
fn eq(&self, other: &ObjectBlueprint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.