[−][src]Struct reactor_rs::mono::MonoCreate
Trait Implementations
impl<T, G, E> Mono<T, E> for MonoCreate<T, G, E> where
G: Fn() -> Result<T, E>,
[src]
G: Fn() -> Result<T, E>,
fn block(self) -> Result<Option<Self::Item>, Self::Error> where
Self::Item: 'static + Send,
Self::Error: 'static + Send,
Self: Sized,
[src]
Self::Item: 'static + Send,
Self::Error: 'static + Send,
Self: Sized,
fn do_on_error<F>(self, f: F) -> MonoDoOnError<Self::Item, Self::Error, Self, F> where
F: 'static + Send + Fn(&Self::Error),
Self: Sized,
[src]
F: 'static + Send + Fn(&Self::Error),
Self: Sized,
fn do_on_success<F>(self, f: F) -> Foreach<Self, Self::Item, F, Self::Error> where
F: 'static + Send + Fn(&Self::Item),
Self: Sized,
[src]
F: 'static + Send + Fn(&Self::Item),
Self: Sized,
fn do_on_complete<F>(
self,
f: F
) -> MonoDoOnComplete<Self::Item, Self::Error, Self, F> where
Self: Sized,
F: 'static + Send + Fn(),
[src]
self,
f: F
) -> MonoDoOnComplete<Self::Item, Self::Error, Self, F> where
Self: Sized,
F: 'static + Send + Fn(),
fn map<A, F>(
self,
transform: F
) -> MonoTransform<Self, Self::Item, A, F, Self::Error> where
F: 'static + Send + Fn(Self::Item) -> A,
Self: Sized,
[src]
self,
transform: F
) -> MonoTransform<Self, Self::Item, A, F, Self::Error> where
F: 'static + Send + Fn(Self::Item) -> A,
Self: Sized,
fn flatmap<A, M, F>(
self,
mapper: F
) -> MonoFlatMap<Self::Item, A, Self::Error, Self, M, F> where
Self: 'static + Send + Sized,
Self::Item: 'static + Send,
Self::Error: 'static + Send,
A: 'static + Send,
M: 'static + Send + Mono<A, Self::Error>,
F: 'static + Send + Fn(Self::Item) -> M,
[src]
self,
mapper: F
) -> MonoFlatMap<Self::Item, A, Self::Error, Self, M, F> where
Self: 'static + Send + Sized,
Self::Item: 'static + Send,
Self::Error: 'static + Send,
A: 'static + Send,
M: 'static + Send + Mono<A, Self::Error>,
F: 'static + Send + Fn(Self::Item) -> M,
fn do_finally<F>(
self,
action: F
) -> MonoDoFinally<Self::Item, Self::Error, Self, F> where
Self: Sized,
F: 'static + Send + Fn(),
[src]
self,
action: F
) -> MonoDoFinally<Self::Item, Self::Error, Self, F> where
Self: Sized,
F: 'static + Send + Fn(),
fn filter<F>(self, predicate: F) -> MonoFilter<Self, Self::Item, F, Self::Error> where
Self: Sized,
F: 'static + Send + Fn(&Self::Item) -> bool,
[src]
Self: Sized,
F: 'static + Send + Fn(&Self::Item) -> bool,
fn subscribe_on<C>(
self,
scheduler: C
) -> MonoScheduleOn<Self::Item, Self::Error, Self, C> where
Self: 'static + Send + Sized,
C: Scheduler<Item = Self::Item, Error = Self::Error>,
[src]
self,
scheduler: C
) -> MonoScheduleOn<Self::Item, Self::Error, Self, C> where
Self: 'static + Send + Sized,
C: Scheduler<Item = Self::Item, Error = Self::Error>,
impl<T, G, E> Publisher for MonoCreate<T, G, E> where
G: Fn() -> Result<T, E>,
[src]
G: Fn() -> Result<T, E>,
type Item = T
type Error = E
fn subscribe(self, subscriber: impl Subscriber<Item = T, Error = E>)
[src]
Auto Trait Implementations
impl<T, G, E> Send for MonoCreate<T, G, E> where
G: Send,
G: Send,
impl<T, G, E> Sync for MonoCreate<T, G, E> where
G: Sync,
G: Sync,
impl<T, G, E> Unpin for MonoCreate<T, G, E> where
G: Unpin,
G: Unpin,
impl<T, G, E> UnwindSafe for MonoCreate<T, G, E> where
G: UnwindSafe,
G: UnwindSafe,
impl<T, G, E> RefUnwindSafe for MonoCreate<T, G, E> where
G: RefUnwindSafe,
G: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,