pub struct Channel(pub Sender<Step>);Expand description
A watcher over a channel, which is the only kind anything here needs.
A failed send is dropped rather than reported. The receiver going away means whoever was watching has stopped watching; the run is still writing its log and still has to finish, and stalling it on a closed channel would make a closed window able to break a run.
Tuple Fields§
§0: Sender<Step>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnsafeUnpin for Channel
impl UnwindSafe for Channel
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