fn find_targets(&self) -> Result<Vec<Target<Self>>> {
        Ok(self
            .devices()?
            .iter()
            // try_from() will return Err(UnsupportedDevice) if the USB device is not a punt target
            .filter_map(|d| Target::try_from(d).ok())
            .collect())
    }
/// Returns information about all connected targets in bootloader mode. USB devices not in
/// bootloader mode cannot be detected, since their protocol for entering bootloader mode is
/// not specified.
///
/// It returns [`Error::IoError`] on USB errors during device enumeration.
///
/// [`Error::IoError`]: enum.Error.html#variant.IoError
Returns information about all connected targets in bootloader mode. USB devices not in
bootloader mode cannot be detected, since their protocol for entering bootloader mode is
not specified.

It returns [`Error::IoError`] on USB errors during device enumeration.


Returns information about all connected targets in bootloader mode . USB devices not in bootloader mode cannot be detected since their protocol for entering bootloader mode is not specified . It returns [ ` Error :: IoError ` ] on USB errors during device enumeration .
fn find_targets(&self) -> Result<Vec<Target<Self>>> {
        Ok(self
            .devices()?
            .iter()
            // try_from() will return Err(UnsupportedDevice) if the USB device is not a punt target
            .filter_map(|d| Target::try_from(d).ok())
            .collect())
    }
fn find_targets ( & self ) -> Result < Vec < Target < Self > > > { Ok ( self . devices ( ) ? . iter ( ) // try_from() will return Err(UnsupportedDevice) if the USB device is not a punt target . filter_map ( | d | Target :: try_from ( d ) . ok ( ) ) . collect ( ) ) }
Returns information about all connected targets in bootloader mode.
Returns information about all connected targets in bootloader mode .
&self
&self