Empty
struct Empty
Empty ignores any data written via write
, and will always be empty (returning zero bytes) when read via read
.
Implementions
Methods
[src]
pub fn read(self, bytes: Bytes): int throws IoError {
return 0;
}
[src]
pub fn read(self, bytes: Bytes): int throws IoError {
return 0;
}
[src]
pub fn write(self, buf: Bytes): int throws IoError {
return 0;
}
[src]
pub fn write(self, buf: Bytes): int throws IoError {
return 0;
}