Skip to main content

IoHandle

Trait IoHandle 

Source
pub trait IoHandle {
    type Base: Copy;
}
Expand description

Represents an abstracted means of register access.

Required Associated Types§

Source

type Base: Copy

The underlying base type of the register (assumed integral in practice).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Base: Copy, Access: Accessible> IoHandle for PortIo<Base, Access>

Source§

type Base = Base

Source§

impl<Encoding: ControlAndStatusRegisterEncoding> IoHandle for CsrIo<Encoding>

Source§

type Base = u64

Source§

impl<Spec: SystemRegisterSpec> IoHandle for SysRegIo<Spec>

Source§

type Base = u64

Source§

impl<T, Access> IoHandle for MmioPtr<T, Access>
where T: Copy, Access: Accessible,

Source§

type Base = T

Source§

impl<const ID: u32> IoHandle for MsrIo<ID>

Source§

type Base = u64

Source§

impl<const N: u32> IoHandle for CrIo<N>

Source§

type Base = u64

Source§

impl<const N: u32> IoHandle for XcrIo<N>

Source§

type Base = u64