pub trait PortOut { // Required method unsafe fn port_out(port: u16, value: Self); }
This trait is defined for any type which can be read from a port. x86 processors support Port IO for u8, u16 and u32.
u8
u16
u32
Write a value to the specified port.