[][src]Trait ksz8863::smi::Read

pub trait Read {
    type Error;
    pub fn read(&mut self, reg_addr: u8) -> Result<u8, Self::Error>;
}

A trait for reading from the KSZ8863's SMI interface.

Associated Types

type Error[src]

Errors that might occur on the SMI interface.

Loading content...

Required methods

pub fn read(&mut self, reg_addr: u8) -> Result<u8, Self::Error>[src]

Read the data from the given register address associated with the specified PHY.

Loading content...

Implementors

impl Read for Map[src]

type Error = InvalidAddress

impl<T> Read for T where
    T: Read
[src]

type Error = T::Error

Loading content...