LocklessSplit

Trait LocklessSplit 

Source
pub trait LocklessSplit {
    type OwnedRead;
    type OwnedWrite;
    type Read<'cx>
       where Self: 'cx;
    type Write<'cx>
       where Self: 'cx;

    // Required method
    fn into_split(self) -> (Self::OwnedRead, Self::OwnedWrite);
}

Required Associated Types§

Source

type OwnedRead

Owned Read Split

Source

type OwnedWrite

Owned Write Split

Source

type Read<'cx> where Self: 'cx

Borrowed Read Split

Source

type Write<'cx> where Self: 'cx

Borrowed Write Split

Required Methods§

Source

fn into_split(self) -> (Self::OwnedRead, Self::OwnedWrite)

Split into owned parts

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§