Enum scsys_actors::Direction
source · pub enum Direction<S, T> {
Input(S),
Output(T),
}
Variants§
Implementations§
Trait Implementations§
source§impl<'de, S, T> Deserialize<'de> for Direction<S, T>where
S: Deserialize<'de>,
T: Deserialize<'de>,
impl<'de, S, T> Deserialize<'de> for Direction<S, T>where
S: Deserialize<'de>,
T: Deserialize<'de>,
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<S: PartialEq, T: PartialEq> PartialEq<Direction<S, T>> for Direction<S, T>
impl<S: PartialEq, T: PartialEq> PartialEq<Direction<S, T>> for Direction<S, T>
impl<S: Eq, T: Eq> Eq for Direction<S, T>
impl<S, T> StructuralEq for Direction<S, T>
impl<S, T> StructuralPartialEq for Direction<S, T>
Auto Trait Implementations§
impl<S, T> RefUnwindSafe for Direction<S, T>where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<S, T> Send for Direction<S, T>where
S: Send,
T: Send,
impl<S, T> Sync for Direction<S, T>where
S: Sync,
T: Sync,
impl<S, T> Unpin for Direction<S, T>where
S: Unpin,
T: Unpin,
impl<S, T> UnwindSafe for Direction<S, T>where
S: UnwindSafe,
T: UnwindSafe,
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.