Skip to main content

AsyncFrameIo

Trait AsyncFrameIo 

Source
pub trait AsyncFrameIo: AsyncTxFrameIo<Frame = <Self as AsyncRxFrameIo>::Frame, Error = <Self as AsyncRxFrameIo>::Error> + AsyncRxFrameIo { }
Expand description

Convenience marker for types that implement both AsyncTxFrameIo and AsyncRxFrameIo using the same frame and error types.

This is a marker trait only; it has no methods and exists to reduce boilerplate in bounds.

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.

Implementors§

Source§

impl<T> AsyncFrameIo for T
where T: AsyncTxFrameIo<Frame = <T as AsyncRxFrameIo>::Frame, Error = <T as AsyncRxFrameIo>::Error> + AsyncRxFrameIo,