pub enum MessageDirection {
Inbound,
Outbound,
}Expand description
Direction of a sent message.
Variants§
Inbound
Message sent to the virtual device making the query.
Outbound
Message sent from the virtual device making the query.
Trait Implementations§
Source§impl Clone for MessageDirection
impl Clone for MessageDirection
Source§fn clone(&self) -> MessageDirection
fn clone(&self) -> MessageDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageDirection
impl Debug for MessageDirection
Source§impl<'de> Deserialize<'de> for MessageDirection
impl<'de> Deserialize<'de> for MessageDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MessageDirection
impl PartialEq for MessageDirection
impl Copy for MessageDirection
impl Eq for MessageDirection
impl StructuralPartialEq for MessageDirection
Auto Trait Implementations§
impl Freeze for MessageDirection
impl RefUnwindSafe for MessageDirection
impl Send for MessageDirection
impl Sync for MessageDirection
impl Unpin for MessageDirection
impl UnwindSafe for MessageDirection
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.