pub struct Pipe { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Piped for Pipe
impl Piped for Pipe
Source§fn create_pipe_with_path<P: AsRef<Path>>(path: P) -> Result<Self>
fn create_pipe_with_path<P: AsRef<Path>>(path: P) -> Result<Self>
Will try to delete the file in path if it exists
fn create_pipe_with_name(name: String) -> Result<Self>
fn connect_pipe_with_name(name: String) -> Result<impl Read + Write>
fn connect_pipe_with_path<P: AsRef<Path>>(path: P) -> Result<impl Read + Write>
fn listen(self) -> Result<impl Read + Write>
fn create_pipe() -> Result<Self>
Auto Trait Implementations§
impl Freeze for Pipe
impl !RefUnwindSafe for Pipe
impl Send for Pipe
impl !Sync for Pipe
impl Unpin for Pipe
impl !UnwindSafe for Pipe
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