pub enum DeviceInner {
Char(Arc<dyn CharDevice>),
Block(Arc<dyn BlockDevice>),
}Variants§
Char(Arc<dyn CharDevice>)
Block(Arc<dyn BlockDevice>)
Trait Implementations§
Source§impl Clone for DeviceInner
impl Clone for DeviceInner
Source§fn clone(&self) -> DeviceInner
fn clone(&self) -> DeviceInner
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeviceInner
impl !RefUnwindSafe for DeviceInner
impl Send for DeviceInner
impl Sync for DeviceInner
impl Unpin for DeviceInner
impl !UnwindSafe for DeviceInner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more