Skip to main content

StreamPayload

Trait StreamPayload 

Source
pub trait StreamPayload:
    Sized
    + Unpin
    + 'static {
    const VTABLE: &'static StreamVtable<Self>;
}

Required Associated Constants§

Source

const VTABLE: &'static StreamVtable<Self>

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.

Implementations on Foreign Types§

Source§

impl StreamPayload for u8

Source§

const VTABLE: &'static StreamVtable<u8>

Implementors§

Source§

impl StreamPayload for DirectoryEntry

Source§

const VTABLE: &'static StreamVtable<DirectoryEntry>

Source§

impl StreamPayload for TcpSocket

Source§

const VTABLE: &'static StreamVtable<TcpSocket>