Skip to main content

PortAccess

Trait PortAccess 

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§

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".

Implementors§

§

impl PortAccess for ReadOnlyAccess

§

const DEBUG_STR: &'static str = "ReadOnly"

§

impl PortAccess for ReadWriteAccess

§

const DEBUG_STR: &'static str = "ReadWrite"

§

impl PortAccess for WriteOnlyAccess

§

const DEBUG_STR: &'static str = "WriteOnly"