fn read_errorsrc(&self) -> Result<(), Error> {
        let err = self.0.errorsrc.read();
        if err.anack().is_received() {
            return Err(Error::AddressNack);
        }
        if err.dnack().is_received() {
            return Err(Error::DataNack);
        }
        if err.overrun().is_received() {
            return Err(Error::DataNack);
        }
        Ok(())
    }
/// Get Error instance, if any occurred.
Get Error instance, if any occurred.
Get Error instance if any occurred .
fn read_errorsrc(&self) -> Result<(), Error> {
        let err = self.0.errorsrc.read();
        if err.anack().is_received() {
            return Err(Error::AddressNack);
        }
        if err.dnack().is_received() {
            return Err(Error::DataNack);
        }
        if err.overrun().is_received() {
            return Err(Error::DataNack);
        }
        Ok(())
    }
fn read_errorsrc ( & self ) -> Result < ( ) , Error > { let err = self . 0 . errorsrc . read ( ) ; if err . anack ( ) . is_received ( ) { return Err ( Error :: AddressNack ) ; } if err . dnack ( ) . is_received ( ) { return Err ( Error :: DataNack ) ; } if err . overrun ( ) . is_received ( ) { return Err ( Error :: DataNack ) ; } Ok ( ( ) ) }
Get Error instance, if any occurred.
Get Error instance if any occurred .
&self
&self