Struct kernel::schemes::ethernet::EthernetResource
[−]
[src]
pub struct EthernetResource { // some fields omitted }
A ethernet resource
pub struct EthernetResource { // some fields omitted }
A ethernet resource
impl Resource for EthernetResource
fn dup(&self) -> Option<Box<Resource>>
fn url(&self) -> URL
fn read(&mut self, _: &mut [u8]) -> Option<usize>
fn read_to_end(&mut self, vec: &mut Vec<u8>) -> Option<usize>
fn write(&mut self, buf: &[u8]) -> Option<usize>
fn sync(&mut self) -> bool
fn seek(&mut self, pos: ResourceSeek) -> Option<usize>
fn truncate(&mut self, len: usize) -> bool