[][src]Struct ckb_stop_handler::StopHandler

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

TODO(doc): @keroro520


impl<T> StopHandler<T>[src]

pub fn new(signal: SignalSender, thread: 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

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

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

impl<T> Erased for T

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

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.