pub struct Standard { /* private fields */ }
Implementations§
Source§impl Standard
impl Standard
pub async fn open( standard_in: &impl AsRef<Path>, standard_out: &impl AsRef<Path>, standard_error: &impl AsRef<Path>, task: TaskIdentifier, virtual_file_system: &'static VirtualFileSystem<'static>, ) -> Result<Self>
pub fn new( standard_in: UniqueFileIdentifier, standard_out: UniqueFileIdentifier, standard_error: UniqueFileIdentifier, task: TaskIdentifier, virtual_file_system: &'static VirtualFileSystem<'_>, ) -> Self
pub async fn print(&self, arguments: &str)
pub async fn out_flush(&self)
pub async fn write(&self, data: &[u8]) -> Size
pub async fn print_line(&self, arguments: &str)
pub async fn print_error(&self, arguments: &str)
pub async fn print_error_line(&self, arguments: &str)
pub async fn read_line(&self, buffer: &mut String)
pub fn get_task(&self) -> TaskIdentifier
pub async fn duplicate(&self) -> Result<Self>
pub fn split( &self, ) -> (UniqueFileIdentifier, UniqueFileIdentifier, UniqueFileIdentifier)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Standard
impl !RefUnwindSafe for Standard
impl Send for Standard
impl Sync for Standard
impl Unpin for Standard
impl !UnwindSafe for Standard
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