pub struct WatchSends<A: Address, Sends> {
pub behavior: Sends,
pub observations: ServiceSends<ObservePeer<A>>,
}Expand description
Named effect lanes added by Watch.
Fields§
§behavior: Sends§observations: ServiceSends<ObservePeer<A>>Trait Implementations§
Source§impl<A: Clone + Address, Sends: Clone> Clone for WatchSends<A, Sends>
impl<A: Clone + Address, Sends: Clone> Clone for WatchSends<A, Sends>
Source§fn clone(&self) -> WatchSends<A, Sends>
fn clone(&self) -> WatchSends<A, Sends>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<A: Eq + Address, Sends: Eq> Eq for WatchSends<A, Sends>
Source§impl<A: Address, Sends: SendAlgebra> SendAlgebra for WatchSends<A, Sends>
impl<A: Address, Sends: SendAlgebra> SendAlgebra for WatchSends<A, Sends>
Source§impl<A: Address, Sends> SendInput<ObservePeer<A>, Own> for WatchSends<A, Sends>
impl<A: Address, Sends> SendInput<ObservePeer<A>, Own> for WatchSends<A, Sends>
fn emit(&mut self, input: ObservePeer<A>)
impl<A: PartialEq + Address, Sends: PartialEq> StructuralPartialEq for WatchSends<A, Sends>
Auto Trait Implementations§
impl<A, Sends> Freeze for WatchSends<A, Sends>where
Sends: Freeze,
impl<A, Sends> RefUnwindSafe for WatchSends<A, Sends>where
Sends: RefUnwindSafe,
A: RefUnwindSafe,
impl<A, Sends> Send for WatchSends<A, Sends>
impl<A, Sends> Sync for WatchSends<A, Sends>
impl<A, Sends> Unpin for WatchSends<A, Sends>
impl<A, Sends> UnsafeUnpin for WatchSends<A, Sends>where
Sends: UnsafeUnpin,
impl<A, Sends> UnwindSafe for WatchSends<A, Sends>where
Sends: UnwindSafe,
A: UnwindSafe,
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