pub fn restore(&mut self) -> Result<Image<MCUF::Address>, Error> {
        self.restore_internal(false)
            .or_else(|| self.restore_external(false))
            .or_else(|| self.restore_internal(true))
            .or_else(|| self.restore_external(true))
            .ok_or(Error::NoImageToRestoreFrom)
    }
/// Restores the first image available in all banks, attempting to restore
/// from the golden image as a last resort.
Restores the first image available in all banks, attempting to restore
from the golden image as a last resort.
Restores the first image available in all banks attempting to restore from the golden image as a last resort .
pub fn restore(&mut self) -> Result<Image<MCUF::Address>, Error> {
        self.restore_internal(false)
            .or_else(|| self.restore_external(false))
            .or_else(|| self.restore_internal(true))
            .or_else(|| self.restore_external(true))
            .ok_or(Error::NoImageToRestoreFrom)
    }
pub fn restore ( & mut self ) -> Result < Image < MCUF :: Address > , Error > { self . restore_internal ( false ) . or_else ( | | self . restore_external ( false ) ) . or_else ( | | self . restore_internal ( true ) ) . or_else ( | | self . restore_external ( true ) ) . ok_or ( Error :: NoImageToRestoreFrom ) }
Restores the first image available in all banks, attempting to restore
from the golden image as a last resort.
Restores the first image available in all banks attempting to restore from the golden image as a last resort .
&mut self
&mut self