#[repr(u8)]pub enum DeviceType {
Character = 99,
Block = 98,
}
Expand description
Permissible types of UNIX file I/O API device special file.
See also from_devnum
.
Variants§
Character = 99
UNIX character-style file IO semantics.
Block = 98
UNIX block-style file IO semantics.
Auto Trait Implementations§
impl Freeze for DeviceType
impl RefUnwindSafe for DeviceType
impl Send for DeviceType
impl Sync for DeviceType
impl Unpin for DeviceType
impl UnwindSafe for DeviceType
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