#[repr(C)]pub struct NnrpCacheReferenceDescriptor {
pub cache_namespace: u32,
pub profile_id: u16,
pub reuse_scope: u16,
pub cache_key_hi: u64,
pub cache_key_lo: u64,
pub lease_id: u64,
pub producer_trace_id: u64,
pub expiration_hint_ms: u32,
pub metadata_bytes: u32,
pub flags: u32,
}Fields§
§cache_namespace: u32§profile_id: u16§reuse_scope: u16§cache_key_hi: u64§cache_key_lo: u64§lease_id: u64§producer_trace_id: u64§expiration_hint_ms: u32§metadata_bytes: u32§flags: u32Implementations§
Source§impl NnrpCacheReferenceDescriptor
impl NnrpCacheReferenceDescriptor
pub fn to_core(self) -> Result<CacheReferenceMetadata, NnrpFfiStatus>
Trait Implementations§
Source§impl Clone for NnrpCacheReferenceDescriptor
impl Clone for NnrpCacheReferenceDescriptor
Source§fn clone(&self) -> NnrpCacheReferenceDescriptor
fn clone(&self) -> NnrpCacheReferenceDescriptor
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 NnrpCacheReferenceDescriptor
Source§impl Debug for NnrpCacheReferenceDescriptor
impl Debug for NnrpCacheReferenceDescriptor
impl Eq for NnrpCacheReferenceDescriptor
Source§impl From<CacheReferenceMetadata> for NnrpCacheReferenceDescriptor
impl From<CacheReferenceMetadata> for NnrpCacheReferenceDescriptor
Source§fn from(value: CacheReferenceMetadata) -> Self
fn from(value: CacheReferenceMetadata) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for NnrpCacheReferenceDescriptor
Auto Trait Implementations§
impl Freeze for NnrpCacheReferenceDescriptor
impl RefUnwindSafe for NnrpCacheReferenceDescriptor
impl Send for NnrpCacheReferenceDescriptor
impl Sync for NnrpCacheReferenceDescriptor
impl Unpin for NnrpCacheReferenceDescriptor
impl UnsafeUnpin for NnrpCacheReferenceDescriptor
impl UnwindSafe for NnrpCacheReferenceDescriptor
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