Enum air_test_utils::prelude::Sender
source · pub enum Sender {
PeerId(Rc<String>),
PeerIdWithCallId {
peer_id: Rc<String>,
call_id: u32,
},
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sender
impl<'de> Deserialize<'de> for Sender
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Sender, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<Sender, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Sender> for Sender
impl PartialEq<Sender> for Sender
source§impl Serialize for Sender
impl Serialize for Sender
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 Eq for Sender
impl StructuralEq for Sender
impl StructuralPartialEq for Sender
Auto Trait Implementations§
impl RefUnwindSafe for Sender
impl !Send for Sender
impl !Sync for Sender
impl Unpin for Sender
impl UnwindSafe for Sender
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.