Skip to main content

read_result

Function read_result 

pub(crate) fn read_result(
    result: Result<Transparent, Error>,
) -> Result<Transparent, Error>
Expand description

Maps the result of a ReadTransparent request.

A rejection with an error status word of the card becomes Error::Card. A successful response without content becomes Error::NoContent.