#[repr(u16)]pub enum RuntimeObjectKind {
Show 13 variants
Unspecified = 0,
Tensor = 1,
TokenBlock = 2,
ImageTile = 3,
FeatureMap = 4,
ToolResult = 5,
TraceSegment = 6,
OpaqueBytes = 7,
DocumentChunk = 8,
AudioChunk = 9,
VideoChunk = 10,
RoutePlan = 11,
CacheManifest = 12,
}Variants§
Unspecified = 0
Tensor = 1
TokenBlock = 2
ImageTile = 3
FeatureMap = 4
ToolResult = 5
TraceSegment = 6
OpaqueBytes = 7
DocumentChunk = 8
AudioChunk = 9
VideoChunk = 10
RoutePlan = 11
CacheManifest = 12
Implementations§
Source§impl RuntimeObjectKind
impl RuntimeObjectKind
pub fn try_from_u16(value: u16) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for RuntimeObjectKind
impl Clone for RuntimeObjectKind
Source§fn clone(&self) -> RuntimeObjectKind
fn clone(&self) -> RuntimeObjectKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuntimeObjectKind
Source§impl Debug for RuntimeObjectKind
impl Debug for RuntimeObjectKind
impl Eq for RuntimeObjectKind
Source§impl PartialEq for RuntimeObjectKind
impl PartialEq for RuntimeObjectKind
impl StructuralPartialEq for RuntimeObjectKind
Auto Trait Implementations§
impl Freeze for RuntimeObjectKind
impl RefUnwindSafe for RuntimeObjectKind
impl Send for RuntimeObjectKind
impl Sync for RuntimeObjectKind
impl Unpin for RuntimeObjectKind
impl UnsafeUnpin for RuntimeObjectKind
impl UnwindSafe for RuntimeObjectKind
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