pub struct ToUIReceiver<T> {
pub receiver: Receiver<T>,
/* private fields */
}
Fields§
§receiver: Receiver<T>
Implementations§
Source§impl<T> ToUIReceiver<T>
impl<T> ToUIReceiver<T>
pub fn sender(&self) -> ToUISender<T>
pub fn try_recv(&self) -> Result<T, TryRecvError>
pub fn try_recv_flush(&self) -> Result<T, TryRecvError>
Trait Implementations§
Source§impl<T> Default for ToUIReceiver<T>
impl<T> Default for ToUIReceiver<T>
Source§fn default() -> ToUIReceiver<T>
fn default() -> ToUIReceiver<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for ToUIReceiver<T>
impl<T> RefUnwindSafe for ToUIReceiver<T>
impl<T> Send for ToUIReceiver<T>where
T: Send,
impl<T> !Sync for ToUIReceiver<T>
impl<T> Unpin for ToUIReceiver<T>
impl<T> UnwindSafe for ToUIReceiver<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