pub struct InfoKey {
pub repo: CacheRepo,
pub config: RepoConfig,
}Fields§
§repo: CacheRepo§config: RepoConfigImplementations§
Trait Implementations§
Source§impl<'__de, __A> Decode<'__de, Binary, __A> for InfoKeywhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Binary, __A> for InfoKeywhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl<'__de, __A> Decode<'__de, Text, __A> for InfoKeywhere
__A: Allocator,
impl<'__de, __A> Decode<'__de, Text, __A> for InfoKeywhere
__A: Allocator,
Source§const IS_BITWISE_DECODE: bool = false
const IS_BITWISE_DECODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Binary> for InfoKey
impl Encode<Binary> for InfoKey
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Encode<Text> for InfoKey
impl Encode<Text> for InfoKey
Source§const IS_BITWISE_ENCODE: bool = false
const IS_BITWISE_ENCODE: bool = false
Whether the type is packed. Packed types can be bitwise copied if the
representation of the serialization format is identical to the memory
layout of the type. Read more
Source§impl Value for InfoKey
impl Value for InfoKey
Source§type SelfType<'a> = InfoKey
where
Self: 'a
type SelfType<'a> = InfoKey where Self: 'a
SelfType<'a> must be the same type as Self with all lifetimes replaced with ’atype AsBytes<'a> = Vec<u8> where Self: 'a
Source§fn fixed_width() -> Option<usize>
fn fixed_width() -> Option<usize>
Width of a fixed type, or None for variable width
Source§fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
fn from_bytes<'a>(data: &'a [u8]) -> Self::SelfType<'a>where
Self: 'a,
Deserializes data
Implementations may return a view over data, or an owned type
Auto Trait Implementations§
impl Freeze for InfoKey
impl RefUnwindSafe for InfoKey
impl Send for InfoKey
impl Sync for InfoKey
impl Unpin for InfoKey
impl UnwindSafe for InfoKey
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