[][src]Struct ecflash::EcFlash

pub struct EcFlash { /* fields omitted */ }

Methods

impl EcFlash[src]

pub unsafe fn cmd(&mut self, data: u8) -> Result<(), ()>[src]

pub unsafe fn read(&mut self) -> Result<u8, ()>[src]

pub unsafe fn write(&mut self, data: u8) -> Result<(), ()>[src]

pub unsafe fn flush(&mut self) -> Result<(), ()>[src]

pub unsafe fn get_param(&mut self, param: u8) -> Result<u8, ()>[src]

pub unsafe fn set_param(&mut self, param: u8, data: u8) -> Result<(), ()>[src]

pub unsafe fn get_str(&mut self, index: u8) -> Result<String, ()>[src]

pub fn new(primary: bool) -> Result<Self, String>[src]

Trait Implementations

impl Ec for EcFlash[src]

Auto Trait Implementations

impl Send for EcFlash

impl Sync for EcFlash

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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