[−][src]Struct drone_cortex_m::fib::FiberProc
Stackful fiber for FnMut
closure.
Can be created with fib::new_proc
,
fib::new_proc_unchecked
,
fib::new_proc_unprivileged
,
fib::new_proc_unprivileged_unchecked
.
Trait Implementations
impl<Sv, I, Y, R, F> Drop for FiberProc<Sv, I, Y, R, F> where
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
[src][+]
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
impl<Sv, I, Y, R, F> Unpin for FiberProc<Sv, I, Y, R, F> where
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
[src]
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
impl<Sv, I, Y, R, F> Send for FiberProc<Sv, I, Y, R, F> where
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
[src]
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
impl<Sv, F> FiberRoot for FiberProc<Sv, (), (), (), F> where
Sv: Switch<Data<(), FiberState<(), ()>>>,
F: FnMut((), Yielder<Sv, (), (), ()>),
F: Send + 'static,
[src][+]
Sv: Switch<Data<(), FiberState<(), ()>>>,
F: FnMut((), Yielder<Sv, (), (), ()>),
F: Send + 'static,
impl<Sv, I, Y, R, F> Fiber for FiberProc<Sv, I, Y, R, F> where
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
[src][+]
Sv: Switch<Data<I, FiberState<Y, R>>>,
F: FnMut(I, Yielder<Sv, I, Y, R>) -> R,
F: Send + 'static,
I: Send + 'static,
Y: Send + 'static,
R: Send + 'static,
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,