[−][src]Struct reactor_rs::mono::MonoJust
Trait Implementations
impl<T, E> Mono<T, E> for MonoJust<T, E> where
T: Clone,
[src]
T: Clone,
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, E> Publisher for MonoJust<T, E> where
T: Clone,
[src]
T: Clone,
type Item = T
type Error = E
fn subscribe(self, subscriber: impl Subscriber<Item = T, Error = E>)
[src]
impl<T: Clone, E: Clone> Clone for MonoJust<T, E> where
T: Clone,
[src]
T: Clone,
Auto Trait Implementations
impl<T, E> Send for MonoJust<T, E> where
E: Send,
T: Send,
E: Send,
T: Send,
impl<T, E> Sync for MonoJust<T, E> where
E: Sync,
T: Sync,
E: Sync,
T: Sync,
impl<T, E> Unpin for MonoJust<T, E> where
E: Unpin,
T: Unpin,
E: Unpin,
T: Unpin,
impl<T, E> UnwindSafe for MonoJust<T, E> where
E: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
T: UnwindSafe,
impl<T, E> RefUnwindSafe for MonoJust<T, E> where
E: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
T: 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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,