pub enum MapEntry {
FileKeys {
kind: u32,
keys: Vec<u64>,
},
PeerKeys {
kind: u32,
pairs: Vec<(u64, u64)>,
},
LegacyLocations {
kind: u32,
items: Vec<(u64, u64, u64, i32)>,
},
SelfSerialized(Option<Vec<u8>>),
WebviewTokens {
bots: Option<Vec<u8>>,
other: Option<Vec<u8>>,
},
WalletEngineStorages(Vec<(u64, Option<String>)>),
}Expand description
One entry of the decrypted map, in file order.
Variants§
FileKeys
A key type that holds only file keys (see file_key_count).
PeerKeys
Fields
LegacyLocations
LSK_LEGACY_IMAGES, LSK_LEGACY_STICKER_IMAGES, or
LSK_LEGACY_AUDIOS: three u64 and an i32 per item, which
MapData::encode_entries drops.
SelfSerialized(Option<Vec<u8>>)
LSK_SELF_SERIALIZED; None for a null array.
WebviewTokens
LSK_WEBVIEW_TOKENS; None for a null array.
Fields
WalletEngineStorages(Vec<(u64, Option<String>)>)
LSK_WALLET_ENGINE_STORAGES: (file key, entry name) pairs; None
for a null string.
Trait Implementations§
impl Eq for MapEntry
impl StructuralPartialEq for MapEntry
Auto Trait Implementations§
impl Freeze for MapEntry
impl RefUnwindSafe for MapEntry
impl Send for MapEntry
impl Sync for MapEntry
impl Unpin for MapEntry
impl UnsafeUnpin for MapEntry
impl UnwindSafe for MapEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more