pub struct ObserverBox<M, T>where
M: 'static,
T: 'static,{ /* private fields */ }Expand description
It represents the boxed Observer computation.
Trait Implementations§
Source§impl<M, T> Clone for ObserverBox<M, T>
impl<M, T> Clone for ObserverBox<M, T>
Source§impl<M, T> Observer for ObserverBox<M, T>
impl<M, T> Observer for ObserverBox<M, T>
Source§fn into_boxed(self) -> ObserverBox<Self::Message, Self::Item>
fn into_boxed(self) -> ObserverBox<Self::Message, Self::Item>
Convert into a boxed value.
Source§fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
Bind the current computation with its continuation within the resulting computation.
Source§fn map<B, F>(self, f: F) -> Map<Self, B, F>
fn map<B, F>(self, f: F) -> Map<Self, B, F>
Map the current computation using the specified transform.
Auto Trait Implementations§
impl<M, T> !RefUnwindSafe for ObserverBox<M, T>
impl<M, T> !Send for ObserverBox<M, T>
impl<M, T> !Sync for ObserverBox<M, T>
impl<M, T> !UnwindSafe for ObserverBox<M, T>
impl<M, T> Freeze for ObserverBox<M, T>
impl<M, T> Unpin for ObserverBox<M, T>
impl<M, T> UnsafeUnpin for ObserverBox<M, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<M> IntoObserver for Mwhere
M: Observer,
impl<M> IntoObserver for Mwhere
M: Observer,
Source§type Message = <M as Observer>::Message
type Message = <M as Observer>::Message
The type of messages that are processed by the observer.
Source§fn into_observer(self) -> <M as IntoObserver>::Observer
fn into_observer(self) -> <M as IntoObserver>::Observer
Convert to the
Observer computation.