[][src]Struct ecflash::EcFlash

pub struct EcFlash { /* fields omitted */ }

Methods

impl EcFlash[src]

pub unsafe fn sts(&mut self) -> u8[src]

pub unsafe fn can_read(&mut self) -> bool[src]

pub unsafe fn wait_read(&mut self, timeout: usize) -> Result<(), ()>[src]

pub unsafe fn can_write(&mut self) -> bool[src]

pub unsafe fn wait_write(&mut self, timeout: usize) -> Result<(), ()>[src]

pub unsafe fn flush(&mut self) -> Result<(), ()>[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 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<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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