#[repr(C)]pub struct ObjectCapabilities {
pub stream_ops: bool,
pub file_ops: bool,
pub pipe_ops: bool,
pub clone_ops: bool,
pub reserved: [bool; 4],
}
Expand description
Capabilities available for a KernelObject
Fields§
§stream_ops: bool
Supports StreamOps (read/write)
file_ops: bool
Supports FileOps (seek, truncate, etc.)
pipe_ops: bool
Supports PipeOps (pipe-specific operations)
clone_ops: bool
Supports CloneOps (custom cloning)
reserved: [bool; 4]
Reserved for future capabilities
Trait Implementations§
Source§impl Clone for ObjectCapabilities
impl Clone for ObjectCapabilities
Source§fn clone(&self) -> ObjectCapabilities
fn clone(&self) -> ObjectCapabilities
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 ObjectCapabilities
impl Debug for ObjectCapabilities
Source§impl PartialEq for ObjectCapabilities
impl PartialEq for ObjectCapabilities
impl Copy for ObjectCapabilities
impl Eq for ObjectCapabilities
impl StructuralPartialEq for ObjectCapabilities
Auto Trait Implementations§
impl Freeze for ObjectCapabilities
impl RefUnwindSafe for ObjectCapabilities
impl Send for ObjectCapabilities
impl Sync for ObjectCapabilities
impl Unpin for ObjectCapabilities
impl UnwindSafe for ObjectCapabilities
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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.