x86_64::instructions::port

Trait PortAccess

Source
pub trait PortAccess: Sealed {
    const DEBUG_STR: &'static str;
}
Expand description

A marker trait for access types which allow accessing port values.

Required Associated Constants§

Source

const DEBUG_STR: &'static str

A string representation for debug output.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl PortAccess for ReadOnlyAccess

Source§

const DEBUG_STR: &'static str = "ReadOnly"

Source§

impl PortAccess for ReadWriteAccess

Source§

const DEBUG_STR: &'static str = "ReadWrite"

Source§

impl PortAccess for WriteOnlyAccess

Source§

const DEBUG_STR: &'static str = "WriteOnly"