Struct twizzler_abi::syscall::ObjectInfo
source · #[repr(C)]pub struct ObjectInfo {
pub id: ObjID,
pub maps: usize,
pub ties_to: usize,
pub ties_from: usize,
pub life: LifetimeType,
pub backing: BackingType,
}
Expand description
Information about an object, according to the local kernel.
Fields§
§id: ObjID
The ID of this object.
maps: usize
The number of mappings in which this object participates.
ties_to: usize
The number of ties to this object.
ties_from: usize
The number of ties from this object.
life: LifetimeType
The lifetime type of this object.
backing: BackingType
The backing type of this object.
Trait Implementations§
source§impl Clone for ObjectInfo
impl Clone for ObjectInfo
source§fn clone(&self) -> ObjectInfo
fn clone(&self) -> ObjectInfo
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 moresource§impl Debug for ObjectInfo
impl Debug for ObjectInfo
source§impl Ord for ObjectInfo
impl Ord for ObjectInfo
source§fn cmp(&self, other: &ObjectInfo) -> Ordering
fn cmp(&self, other: &ObjectInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ObjectInfo> for ObjectInfo
impl PartialEq<ObjectInfo> for ObjectInfo
source§fn eq(&self, other: &ObjectInfo) -> bool
fn eq(&self, other: &ObjectInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ObjectInfo> for ObjectInfo
impl PartialOrd<ObjectInfo> for ObjectInfo
source§fn partial_cmp(&self, other: &ObjectInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ObjectInfo
impl Eq for ObjectInfo
impl StructuralEq for ObjectInfo
impl StructuralPartialEq for ObjectInfo
Auto Trait Implementations§
impl ObjSafe for ObjectInfo
impl RefUnwindSafe for ObjectInfo
impl Send for ObjectInfo
impl Sync for ObjectInfo
impl Unpin for ObjectInfo
impl UnwindSafe for ObjectInfo
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.