pub struct AquaSender<T: Send> {
sender: Sender<T>,
}Fields§
§sender: Sender<T>Implementations§
Source§impl<T: Send> AquaSender<T>
impl<T: Send> AquaSender<T>
Sourcepub fn send(&mut self, data: T) -> Result<(), AquaChannelError>
pub fn send(&mut self, data: T) -> Result<(), AquaChannelError>
Send a value into a channel, and on builds with “debug_channel” feature enabled, propagate outward an error to whatever thread is over-eagerly sending content.
Trait Implementations§
Source§impl<T: Clone + Send> Clone for AquaSender<T>
impl<T: Clone + Send> Clone for AquaSender<T>
Source§fn clone(&self) -> AquaSender<T>
fn clone(&self) -> AquaSender<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for AquaSender<T>
impl<T> RefUnwindSafe for AquaSender<T>
impl<T> Send for AquaSender<T>
impl<T> Sync for AquaSender<T>
impl<T> Unpin for AquaSender<T>
impl<T> UnwindSafe for AquaSender<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