A kernel buffer.
struct Pipe {
/* private fields */
}| Name | Description |
|---|---|
| new | Creates a new pipe. |
| Receiver | Name | Description |
|---|---|---|
&self | capacity | Reutrns the capacity of the pipe. |
&self | copy_to | Copies bytes from this pipe to another. |
&self | gather_write | Writes from multiple buffers to the pipe. |
&self | len | Returns the number of bytes currently buffered in the pipe. |
&self | read | Reads from the pipe. |
&self | read_from | Reads data from a file descriptor into the pipe. |
&self | read_from_at | Reads data from a position in a file descriptor into the pipe. |
&self | scatter_read | Reads from the pipe into multiple buffers. |
&self | set_capacity | Sets the capacity of the pipe. |
&self | write | Writes to the pipe. |
&self | write_to | Writes data from this pipe to a file descriptor. |
&self | write_to_at | Writes data from this pipe to a position in a file descriptor. |
| Name | Description |
|---|---|
| Drop | Objects with a destructor. |
| FDContainer | Objects that are file descriptor wrappers. |
| Read | Objects that wrap a byte-stream for reading. |
| UndefState | Types that are not valid when they contain certain bit patterns. |
| Write | Objects that wrap a byte-stream for writing. |