#[repr(u8)]pub enum ObjectType {
Task = 0,
Region = 1,
Queue = 2,
Timer = 3,
VectorStore = 4,
GraphStore = 5,
RvfMount = 6,
Capability = 7,
WitnessLog = 8,
Subscription = 9,
}Expand description
The type of a kernel object.
RuVix has a fixed set of kernel object types. All other abstractions (file systems, networking, device drivers, vector indexes, graph engines, AI inference) are RVF components running in user space.
Variants§
Task = 0
A task (unit of concurrent execution with capability set).
Region = 1
A memory region with access policy (immutable, append-only, slab).
Queue = 2
A typed ring buffer for inter-task communication.
Timer = 3
A deadline-driven scheduling primitive.
VectorStore = 4
A kernel-resident vector store with HNSW indexing.
GraphStore = 5
A kernel-resident graph store with mincut partitioning.
RvfMount = 6
A mounted RVF package in the component namespace.
Capability = 7
A capability table entry.
WitnessLog = 8
The kernel witness log (append-only attestation log).
Subscription = 9
A sensor subscription for RuView perception events.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a duplicate 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 ObjectType
impl Debug for ObjectType
Source§impl Hash for ObjectType
impl Hash for ObjectType
Source§impl PartialEq for ObjectType
impl PartialEq for ObjectType
impl Copy for ObjectType
impl Eq for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnsafeUnpin for ObjectType
impl UnwindSafe for ObjectType
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