[−][src]Trait sunrise_libuser::twili::IPipe
IPC Pipe Object
Required methods
fn read(
&mut self,
manager: WorkQueue<'static>,
out_buf: &mut [u8]
) -> Result<u64, Error>
&mut self,
manager: WorkQueue<'static>,
out_buf: &mut [u8]
) -> Result<u64, Error>
Reads data from the pipe.
May block if there isn't enough data to return.
fn write(
&mut self,
manager: WorkQueue<'static>,
out_buf: &[u8]
) -> Result<(), Error>
&mut self,
manager: WorkQueue<'static>,
out_buf: &[u8]
) -> Result<(), Error>
Writes data to the other side of the pipe.
May block if the other side isn't reading fast enough.
Provided methods
fn dispatch<'a>(
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
&'a mut self,
manager: WorkQueue<'static>,
cmdid: u32,
buf: &'a mut [u8]
) -> FutureObj<Result<(), Error>>
Handle an incoming IPC request.