LocklessSplitRef

Trait LocklessSplitRef 

Source
pub trait LocklessSplitRef {
    type Read<'cx>
       where Self: 'cx;
    type Write<'cx>
       where Self: 'cx;

    // Required method
    fn split(&mut self) -> (Self::Read<'_>, Self::Write<'_>);
}

Required Associated Types§

Source

type Read<'cx> where Self: 'cx

Borrowed Read Split

Source

type Write<'cx> where Self: 'cx

Borrowed Write Split

Required Methods§

Source

fn split(&mut self) -> (Self::Read<'_>, Self::Write<'_>)

Split into borrowed 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§