#[non_exhaustive]pub struct LocalIO {}
Expand description
Filesystem and process tree local IO
implementation.
Implementations§
Trait Implementations§
Source§impl IO for LocalIO
impl IO for LocalIO
Source§fn run_command(
&mut self,
_ui: &mut UILock<'_>,
command: String,
) -> Result<(), IOError>
fn run_command( &mut self, _ui: &mut UILock<'_>, command: String, ) -> Result<(), IOError>
Run a lone command (unrelated from the buffer) Read more
Source§fn run_read_command(
&mut self,
_ui: &mut UILock<'_>,
command: String,
) -> Result<String, IOError>
fn run_read_command( &mut self, _ui: &mut UILock<'_>, command: String, ) -> Result<String, IOError>
Run a read command, collecting stdout to add into buffer Read more
Source§fn run_write_command(
&mut self,
_ui: &mut UILock<'_>,
command: String,
input: LinesIter<'_>,
) -> Result<usize, IOError>
fn run_write_command( &mut self, _ui: &mut UILock<'_>, command: String, input: LinesIter<'_>, ) -> Result<usize, IOError>
Run a write command, receiving part of buffer via stdin Read more
Source§fn run_transform_command(
&mut self,
_ui: &mut UILock<'_>,
command: String,
input: LinesIter<'_>,
) -> Result<String, IOError>
fn run_transform_command( &mut self, _ui: &mut UILock<'_>, command: String, input: LinesIter<'_>, ) -> Result<String, IOError>
Run a transform command, taking part of buffer via stdin and returning it
via stdout. Read more
Auto Trait Implementations§
impl Freeze for LocalIO
impl RefUnwindSafe for LocalIO
impl Send for LocalIO
impl Sync for LocalIO
impl Unpin for LocalIO
impl UnwindSafe for LocalIO
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