Trait drone_cortexm::thr::ExecOutput [−][src]
A trait for implementing arbitrary output types for futures passed to
ThrExec::exec
and ThrExec::add_exec
.
Associated Types
type Terminate
[src]
The return type of ExecOutput::terminate
. Should be either ()
or
!
.
Required methods
pub fn terminate(self) -> Self::Terminate
[src]
A result handler for an executor. The returned value will not be used,
so the only useful types are ()
and !
. The handler may choose to
panic on an erroneous value.
Implementations on Foreign Types
impl<E> ExecOutput for Result<!, E> where
E: Send + Display,
[src]
E: Send + Display,
impl<E> ExecOutput for Result<(), E> where
E: Send + Display,
[src]
Loading content...E: Send + Display,