Struct ckb_stop_handler::StopHandler[][src]

pub struct StopHandler<T> { /* fields omitted */ }

TODO(doc): @keroro520

Implementations

impl<T> StopHandler<T>[src]

pub fn new(
    signal: SignalSender,
    thread: Option<JoinHandle<T>>
) -> StopHandler<T>
[src]

TODO(doc): @keroro520

pub fn try_send(&mut self)[src]

TODO(doc): @keroro520

Trait Implementations

impl<T: Clone> Clone for StopHandler<T>[src]

impl<T: Debug> Debug for StopHandler<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for StopHandler<T>

impl<T> Send for StopHandler<T>

impl<T> Sync for StopHandler<T>

impl<T> Unpin for StopHandler<T>

impl<T> !UnwindSafe for StopHandler<T>

Blanket Implementations

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

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

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

impl<T> Erased for T

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.