Transfer

Struct Transfer 

Source
pub struct Transfer<MODE, BUFFER, CHANNEL, PAYLOAD> { /* private fields */ }

Implementations§

Source§

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, C1, PAYLOAD>

Source

pub fn is_done(&self) -> bool

Source

pub fn wait(self) -> (BUFFER, C1, PAYLOAD)

Source§

impl<BUFFER, PAYLOAD> Transfer<W, &'static mut BUFFER, C1, PAYLOAD>

Source

pub fn peek<T>(&self) -> &[T]
where BUFFER: Unsize<[T]>,

Source§

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, C2, PAYLOAD>

Source

pub fn is_done(&self) -> bool

Source

pub fn wait(self) -> (BUFFER, C2, PAYLOAD)

Source§

impl<BUFFER, PAYLOAD> Transfer<W, &'static mut BUFFER, C2, PAYLOAD>

Source

pub fn peek<T>(&self) -> &[T]
where BUFFER: Unsize<[T]>,

Source§

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, C3, PAYLOAD>

Source

pub fn is_done(&self) -> bool

Source

pub fn wait(self) -> (BUFFER, C3, PAYLOAD)

Source§

impl<BUFFER, PAYLOAD> Transfer<W, &'static mut BUFFER, C3, PAYLOAD>

Source

pub fn peek<T>(&self) -> &[T]
where BUFFER: Unsize<[T]>,

Source§

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, C4, PAYLOAD>

Source

pub fn is_done(&self) -> bool

Source

pub fn wait(self) -> (BUFFER, C4, PAYLOAD)

Source§

impl<BUFFER, PAYLOAD> Transfer<W, &'static mut BUFFER, C4, PAYLOAD>

Source

pub fn peek<T>(&self) -> &[T]
where BUFFER: Unsize<[T]>,

Source§

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, C5, PAYLOAD>

Source

pub fn is_done(&self) -> bool

Source

pub fn wait(self) -> (BUFFER, C5, PAYLOAD)

Source§

impl<BUFFER, PAYLOAD> Transfer<W, &'static mut BUFFER, C5, PAYLOAD>

Source

pub fn peek<T>(&self) -> &[T]
where BUFFER: Unsize<[T]>,

Source§

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, C6, PAYLOAD>

Source

pub fn is_done(&self) -> bool

Source

pub fn wait(self) -> (BUFFER, C6, PAYLOAD)

Source§

impl<BUFFER, PAYLOAD> Transfer<W, &'static mut BUFFER, C6, PAYLOAD>

Source

pub fn peek<T>(&self) -> &[T]
where BUFFER: Unsize<[T]>,

Source§

impl<BUFFER, PAYLOAD, MODE> Transfer<MODE, BUFFER, C7, PAYLOAD>

Source

pub fn is_done(&self) -> bool

Source

pub fn wait(self) -> (BUFFER, C7, PAYLOAD)

Source§

impl<BUFFER, PAYLOAD> Transfer<W, &'static mut BUFFER, C7, PAYLOAD>

Source

pub fn peek<T>(&self) -> &[T]
where BUFFER: Unsize<[T]>,

Trait Implementations§

Source§

impl<BUFFER, CHANNEL, PAYLOAD> Deref for Transfer<R, BUFFER, CHANNEL, PAYLOAD>

Source§

type Target = BUFFER

The resulting type after dereferencing.
Source§

fn deref(&self) -> &BUFFER

Dereferences the value.

Auto Trait Implementations§

§

impl<MODE, BUFFER, CHANNEL, PAYLOAD> Freeze for Transfer<MODE, BUFFER, CHANNEL, PAYLOAD>
where BUFFER: Freeze, CHANNEL: Freeze, PAYLOAD: Freeze,

§

impl<MODE, BUFFER, CHANNEL, PAYLOAD> RefUnwindSafe for Transfer<MODE, BUFFER, CHANNEL, PAYLOAD>
where BUFFER: RefUnwindSafe, CHANNEL: RefUnwindSafe, PAYLOAD: RefUnwindSafe, MODE: RefUnwindSafe,

§

impl<MODE, BUFFER, CHANNEL, PAYLOAD> Send for Transfer<MODE, BUFFER, CHANNEL, PAYLOAD>
where BUFFER: Send, CHANNEL: Send, PAYLOAD: Send, MODE: Send,

§

impl<MODE, BUFFER, CHANNEL, PAYLOAD> Sync for Transfer<MODE, BUFFER, CHANNEL, PAYLOAD>
where BUFFER: Sync, CHANNEL: Sync, PAYLOAD: Sync, MODE: Sync,

§

impl<MODE, BUFFER, CHANNEL, PAYLOAD> Unpin for Transfer<MODE, BUFFER, CHANNEL, PAYLOAD>
where BUFFER: Unpin, CHANNEL: Unpin, PAYLOAD: Unpin, MODE: Unpin,

§

impl<MODE, BUFFER, CHANNEL, PAYLOAD> UnwindSafe for Transfer<MODE, BUFFER, CHANNEL, PAYLOAD>
where BUFFER: UnwindSafe, CHANNEL: UnwindSafe, PAYLOAD: UnwindSafe, MODE: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.