Skip to main content

Direction

Trait Direction 

Source
pub trait Direction: Sealed { }
Expand description

Channel direction marker (Tx or Rx).

Sealed against external implementations by a private supertrait: downstream crates can use Direction as a bound but cannot add directions of their own.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§