Skip to main content

CommandInterfaceBase

Trait CommandInterfaceBase 

Source
pub trait CommandInterfaceBase {
    type Error;
    type AddressType: Address;
}
Expand description

Common properties shared by CommandInterface & AsyncCommandInterface

Required Associated Types§

Source

type Error

The error type

Source

type AddressType: Address

The address type used by this interface. Should likely be an integer.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: CommandInterfaceBase> CommandInterfaceBase for &mut T

Implementors§