Struct w5500_regsim::W5500[][src]

pub struct W5500 { /* fields omitted */ }

Simulated W5500.

Implementations

impl W5500[src]

pub fn new() -> W5500[src]

Create a new simulated W5500.

Example

use w5500_regsim::W5500;

let w5500 = W5500::new();

Trait Implementations

impl Default for W5500[src]

impl Registers for W5500[src]

type Error = Error

Register accessor error type.

fn read(
    &mut self,
    address: u16,
    block: u8,
    data: &mut [u8]
) -> Result<(), Self::Error>
[src]

Read from the W5500.

fn write(
    &mut self,
    address: u16,
    block: u8,
    data: &[u8]
) -> Result<(), Self::Error>
[src]

Write to the W5500.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.