pub struct CupchanWriter<T: 'static> { /* private fields */ }Expand description
Write to the Cup Channel, make sure to call flush() afterwards.
Implementations§
Source§impl<T> CupchanWriter<T>
impl<T> CupchanWriter<T>
pub fn flush(&mut self)
pub fn new_reader(&self) -> Option<CupchanReader<T>>
Trait Implementations§
Source§impl<T: Debug + 'static> Debug for CupchanWriter<T>
impl<T: Debug + 'static> Debug for CupchanWriter<T>
Source§impl<T> Deref for CupchanWriter<T>
impl<T> Deref for CupchanWriter<T>
Source§impl<T> DerefMut for CupchanWriter<T>
impl<T> DerefMut for CupchanWriter<T>
Source§impl<T> Drop for CupchanWriter<T>
impl<T> Drop for CupchanWriter<T>
impl<T: Sync + Send> Send for CupchanWriter<T>
impl<T: Sync + Send> Sync for CupchanWriter<T>
Auto Trait Implementations§
impl<T> Freeze for CupchanWriter<T>
impl<T> !RefUnwindSafe for CupchanWriter<T>
impl<T> Unpin for CupchanWriter<T>
impl<T> !UnwindSafe for CupchanWriter<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