pub struct PtyActivityReader {}Implementations§
Source§impl PtyActivityReader
impl PtyActivityReader
pub fn channel() -> &'static (Sender<PtyActivityReaderPayload>, Mutex<Receiver<PtyActivityReaderPayload>>)
pub fn sender() -> Sender<PtyActivityReaderPayload>
pub fn receiver() -> &'static Mutex<Receiver<PtyActivityReaderPayload>>
pub fn new(activity_id: ActivityId, reader_stream: OwnedReadPty) -> Self
Auto Trait Implementations§
impl Freeze for PtyActivityReader
impl RefUnwindSafe for PtyActivityReader
impl Send for PtyActivityReader
impl Sync for PtyActivityReader
impl Unpin for PtyActivityReader
impl UnwindSafe for PtyActivityReader
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