pub trait OutputBus {
type Word: Copy;
type Error: Debug;
const KIND: InterfaceKind;
// Required method
fn set_value(&mut self, value: Self::Word) -> Result<(), Self::Error>;
}Expand description
This trait represents the data pins of a parallel bus.
See Generic8BitBus and Generic16BitBus for generic implementations.
Required Associated Constants§
Sourceconst KIND: InterfaceKind
const KIND: InterfaceKind
Interface kind.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".