#[repr(u32)]pub enum CacheObjectKind {
CameraBlock = 1,
TileIndexBlock = 2,
TensorSectionTable = 3,
CodecTable = 4,
ReusableResultObject = 5,
PayloadLayoutTemplate = 6,
PromptSegment = 7,
ToolSchema = 8,
StructuredEventSchema = 9,
}Variants§
CameraBlock = 1
TileIndexBlock = 2
TensorSectionTable = 3
CodecTable = 4
ReusableResultObject = 5
PayloadLayoutTemplate = 6
PromptSegment = 7
ToolSchema = 8
StructuredEventSchema = 9
Implementations§
Source§impl CacheObjectKind
impl CacheObjectKind
pub fn try_from_u32(value: u32) -> Result<Self, NnrpError>
Trait Implementations§
Source§impl Clone for CacheObjectKind
impl Clone for CacheObjectKind
Source§fn clone(&self) -> CacheObjectKind
fn clone(&self) -> CacheObjectKind
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 moreSource§impl Debug for CacheObjectKind
impl Debug for CacheObjectKind
Source§impl Ord for CacheObjectKind
impl Ord for CacheObjectKind
Source§fn cmp(&self, other: &CacheObjectKind) -> Ordering
fn cmp(&self, other: &CacheObjectKind) -> Ordering
1.21.0 (const: unstable) · 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 for CacheObjectKind
impl PartialEq for CacheObjectKind
Source§fn eq(&self, other: &CacheObjectKind) -> bool
fn eq(&self, other: &CacheObjectKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CacheObjectKind
impl PartialOrd for CacheObjectKind
impl Copy for CacheObjectKind
impl Eq for CacheObjectKind
impl StructuralPartialEq for CacheObjectKind
Auto Trait Implementations§
impl Freeze for CacheObjectKind
impl RefUnwindSafe for CacheObjectKind
impl Send for CacheObjectKind
impl Sync for CacheObjectKind
impl Unpin for CacheObjectKind
impl UnsafeUnpin for CacheObjectKind
impl UnwindSafe for CacheObjectKind
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