pub struct Device(_);
Expand description
Implementations§
source§impl Device
impl Device
pub fn open<P: AsRef<Path>>(path: P) -> Result<Device>
sourcepub fn send(&mut self, tasks: &[Task<'_>]) -> Result<usize>
pub fn send(&mut self, tasks: &[Task<'_>]) -> Result<usize>
Returns the number of tasks successfully sent.