Trait embedded_svc::io::Read [−][src]
pub trait Read {
type Error;
fn do_read(&mut self, buf: &mut [u8]) -> Result<usize, Self::Error>;
fn do_copy<W>(&mut self, write: &mut W) -> Result<u64, Self::Error>
where
W: Write<Error = Self::Error>,
{ ... }
fn do_copy_len<W>(
&mut self,
len: u64,
write: &mut W
) -> Result<u64, Self::Error>
where
W: Write<Error = Self::Error>,
{ ... }
}