Struct air_test_utils::CidStore
source · pub struct CidStore<Val>(_);
Expand description
Stores CID to Value corresponance.
Implementations§
Trait Implementations§
source§impl<'de, Val> Deserialize<'de> for CidStore<Val>where
Val: Deserialize<'de>,
impl<'de, Val> Deserialize<'de> for CidStore<Val>where Val: Deserialize<'de>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CidStore<Val>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CidStore<Val>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<Val> From<CidTracker<Val>> for CidStore<Val>
impl<Val> From<CidTracker<Val>> for CidStore<Val>
source§fn from(value: CidTracker<Val>) -> CidStore<Val>
fn from(value: CidTracker<Val>) -> CidStore<Val>
Converts to this type from the input type.
source§impl<Val> IntoIterator for CidStore<Val>
impl<Val> IntoIterator for CidStore<Val>
source§impl<Val> PartialEq<CidStore<Val>> for CidStore<Val>where
Val: PartialEq<Val>,
impl<Val> PartialEq<CidStore<Val>> for CidStore<Val>where Val: PartialEq<Val>,
source§impl<Val> Serialize for CidStore<Val>where
Val: Serialize,
impl<Val> Serialize for CidStore<Val>where Val: Serialize,
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<Val> Eq for CidStore<Val>where Val: Eq,
impl<Val> StructuralEq for CidStore<Val>
impl<Val> StructuralPartialEq for CidStore<Val>
Auto Trait Implementations§
impl<Val> RefUnwindSafe for CidStore<Val>where Val: RefUnwindSafe,
impl<Val> !Send for CidStore<Val>
impl<Val> !Sync for CidStore<Val>
impl<Val> Unpin for CidStore<Val>
impl<Val> UnwindSafe for CidStore<Val>where Val: RefUnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.