Struct sp_storage::TrackedStorageKey [−][src]
pub struct TrackedStorageKey { pub key: Vec<u8>, pub has_been_read: bool, pub has_been_written: bool, }
Storage key with read/write tracking information.
Fields
key: Vec<u8>
has_been_read: bool
has_been_written: bool
Trait Implementations
impl Clone for TrackedStorageKey
[src]
impl Clone for TrackedStorageKey
[src]fn clone(&self) -> TrackedStorageKey
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Decode for TrackedStorageKey
[src]
impl Decode for TrackedStorageKey
[src]impl Encode for TrackedStorageKey
[src]
impl Encode for TrackedStorageKey
[src]fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
[src]
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
pub fn size_hint(&self) -> usize
[src]
pub fn encode(&self) -> Vec<u8, Global>
[src]
pub fn using_encoded<R, F>(&self, f: F) -> R where
F: FnOnce(&[u8]) -> R,
[src]
F: FnOnce(&[u8]) -> R,
pub fn encoded_size(&self) -> usize
[src]
impl Hash for TrackedStorageKey
[src]
impl Hash for TrackedStorageKey
[src]impl Ord for TrackedStorageKey
[src]
impl Ord for TrackedStorageKey
[src]impl PartialEq<TrackedStorageKey> for TrackedStorageKey
[src]
impl PartialEq<TrackedStorageKey> for TrackedStorageKey
[src]fn eq(&self, other: &TrackedStorageKey) -> bool
[src]
fn ne(&self, other: &TrackedStorageKey) -> bool
[src]
impl PartialOrd<TrackedStorageKey> for TrackedStorageKey
[src]
impl PartialOrd<TrackedStorageKey> for TrackedStorageKey
[src]fn partial_cmp(&self, other: &TrackedStorageKey) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl EncodeLike<TrackedStorageKey> for TrackedStorageKey
[src]
impl Eq for TrackedStorageKey
[src]
impl StructuralEq for TrackedStorageKey
[src]
impl StructuralPartialEq for TrackedStorageKey
[src]
Auto Trait Implementations
impl RefUnwindSafe for TrackedStorageKey
impl Send for TrackedStorageKey
impl Sync for TrackedStorageKey
impl Unpin for TrackedStorageKey
impl UnwindSafe for TrackedStorageKey
Blanket Implementations
impl<T> DecodeLimit for T where
T: Decode,
[src]
impl<T> DecodeLimit for T where
T: Decode,
[src]impl<S> Codec for S where
S: Decode + Encode,
[src]
S: Decode + Encode,
impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ T> for T where
T: Encode,
[src]
T: Encode,
impl<'_, T> EncodeLike<&'_ mut T> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Arc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<T> EncodeLike<Box<T, Global>> for T where
T: Encode,
[src]
T: Encode,
impl<'a, T> EncodeLike<Cow<'a, T>> for T where
T: ToOwned + Encode,
[src]
T: ToOwned + Encode,
impl<T> EncodeLike<Rc<T>> for T where
T: Encode,
[src]
T: Encode,
impl<S> FullCodec for S where
S: Decode + FullEncode,
[src]
S: Decode + FullEncode,
impl<S> FullEncode for S where
S: Encode + EncodeLike<S>,
[src]
S: Encode + EncodeLike<S>,