Searched refs:BlockDeviceIo (Results 1 – 1 of 1) sorted by relevance
179 pub enum BlockDeviceIo<'a> { enum184 impl<'a> From<&'a mut dyn BlockIo> for BlockDeviceIo<'a> { implementation190 impl<'a> From<&'a mut dyn NonBlockingBlockIo> for BlockDeviceIo<'a> { implementation196 impl<'a> BlockDeviceIo<'a> { impl209 fn scoped_instance(&mut self) -> BlockDeviceIo { in scoped_instance() argument211 Self::Blocking(v) => BlockDeviceIo::Blocking(*v), in scoped_instance()212 Self::NonBlocking(v) => BlockDeviceIo::NonBlocking(*v), in scoped_instance()369 io: BlockDeviceIo<'a>,375 pub fn new(io: BlockDeviceIo<'a>) -> Self { in new()386 let BlockDeviceIo::NonBlocking(ref mut io) = self.io else { in update_status() localVariable[all …]