pub trait Direction: Sealed {
// Required methods
fn is_in() -> bool;
fn is_out() -> bool;
}Expand description
Marker trait for the transfer direction of a channel.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.