pub struct CacheEncryptionContext {
pub protocol_version: u8,
pub cache_format_version: u8,
pub cache_store_name: String,
pub cache_key: String,
pub chunk_index: u64,
pub packet_offset: u64,
pub plaintext_length: usize,
pub codec_identifier: String,
}Fields§
§protocol_version: u8§cache_format_version: u8§cache_store_name: String§cache_key: String§chunk_index: u64§packet_offset: u64§plaintext_length: usize§codec_identifier: StringTrait Implementations§
Source§impl Clone for CacheEncryptionContext
impl Clone for CacheEncryptionContext
Source§fn clone(&self) -> CacheEncryptionContext
fn clone(&self) -> CacheEncryptionContext
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 CacheEncryptionContext
impl Debug for CacheEncryptionContext
Source§impl<'de> Deserialize<'de> for CacheEncryptionContext
impl<'de> Deserialize<'de> for CacheEncryptionContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CacheEncryptionContext
Source§impl PartialEq for CacheEncryptionContext
impl PartialEq for CacheEncryptionContext
Source§fn eq(&self, other: &CacheEncryptionContext) -> bool
fn eq(&self, other: &CacheEncryptionContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CacheEncryptionContext
impl Serialize for CacheEncryptionContext
impl StructuralPartialEq for CacheEncryptionContext
Auto Trait Implementations§
impl Freeze for CacheEncryptionContext
impl RefUnwindSafe for CacheEncryptionContext
impl Send for CacheEncryptionContext
impl Sync for CacheEncryptionContext
impl Unpin for CacheEncryptionContext
impl UnsafeUnpin for CacheEncryptionContext
impl UnwindSafe for CacheEncryptionContext
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