pub struct TaskConsoleInput { /* private fields */ }Expand description
Unique raw RX capability. It performs no CR/LF or terminal transformation.
Implementations§
Source§impl TaskConsoleInput
impl TaskConsoleInput
pub fn try_read(&self, out: &mut [RxItem]) -> usize
pub fn wait_readable(&self) -> RuntimeResult
pub fn read(&self, out: &mut [RxItem]) -> RuntimeResult<usize>
pub fn discard_pending(&self) -> RuntimeResult
pub fn poll_source(&self) -> Arc<PollSet> ⓘ
Sourcepub fn wait_event(&self, logs: &ConsoleLogSubscription) -> RuntimeResult
pub fn wait_event(&self, logs: &ConsoleLogSubscription) -> RuntimeResult
Sleeps until either RX or a complete subscribed log record is ready.
Auto Trait Implementations§
impl !Freeze for TaskConsoleInput
impl !RefUnwindSafe for TaskConsoleInput
impl !UnwindSafe for TaskConsoleInput
impl Send for TaskConsoleInput
impl Sync for TaskConsoleInput
impl Unpin for TaskConsoleInput
impl UnsafeUnpin for TaskConsoleInput
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