Home
last modified time | relevance | path

Searched refs:BlockDeviceIo (Results 1 – 1 of 1) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dnon_blocking.rs179 pub enum BlockDeviceIo<'a> { enum
184 impl<'a> From<&'a mut dyn BlockIo> for BlockDeviceIo<'a> { implementation
190 impl<'a> From<&'a mut dyn NonBlockingBlockIo> for BlockDeviceIo<'a> { implementation
196 impl<'a> BlockDeviceIo<'a> { impl
209 fn scoped_instance(&mut self) -> BlockDeviceIo { in scoped_instance() argument
211 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 …]