[][src]Struct hl_capture::capture::SendOnDrop

struct SendOnDrop<'a, T> {
    buffer: Option<T>,
    channel: &'a Sender<T>,
}

Fields

buffer: Option<T>channel: &'a Sender<T>

Methods

impl<'a, T> SendOnDrop<'a, T>[src]

fn new(buffer: T, channel: &'a Sender<T>) -> Self[src]

Trait Implementations

impl<'_, T> Drop for SendOnDrop<'_, T>[src]

impl<'_, T> Deref for SendOnDrop<'_, T>[src]

type Target = T

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a, T> Unpin for SendOnDrop<'a, T> where
    T: Unpin

impl<'a, T> !Sync for SendOnDrop<'a, T>

impl<'a, T> !Send for SendOnDrop<'a, T>

impl<'a, T> !RefUnwindSafe for SendOnDrop<'a, T>

impl<'a, T> !UnwindSafe for SendOnDrop<'a, T>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]