Struct x86_64::instructions::port::Port[][src]

pub struct Port<T: PortReadWrite> { /* fields omitted */ }

An I/O port.

Methods

impl<T: PortReadWrite> Port<T>
[src]

Creates an I/O port with the given port number.

Reads from the port.

This function is unsafe because the I/O port could have side effects that violate memory safety.

Writes to the port.

This function is unsafe because the I/O port could have side effects that violate memory safety.

Auto Trait Implementations

impl<T> Send for Port<T> where
    T: Send

impl<T> Sync for Port<T> where
    T: Sync