pub fn scan(&mut self) -> Result<Vec<Result<PingResponse, ReadError>>, WriteError> {
		let mut result = Vec::with_capacity(253);
		self.scan_cb(|x| result.push(x))?;
		Ok(result)
	}
/// Scan a bus for motors with a broadcast ping, returning the responses in a [`Vec`].
///
/// Only timeouts are filtered out since they indicate a lack of response.
/// All other responses (including errors) are collected.
Scan a bus for motors with a broadcast ping, returning the responses in a [`Vec`].
Only timeouts are filtered out since they indicate a lack of response.
All other responses (including errors) are collected.
Scan a bus for motors with a broadcast ping returning the responses in a [ ` Vec ` ] . Only timeouts are filtered out since they indicate a lack of response . All other responses ( including errors ) are collected .
pub fn scan(&mut self) -> Result<Vec<Result<PingResponse, ReadError>>, WriteError> {
		let mut result = Vec::with_capacity(253);
		self.scan_cb(|x| result.push(x))?;
		Ok(result)
	}
pub fn scan ( & mut self ) -> Result < Vec < Result < PingResponse , ReadError > > , WriteError > { let mut result = Vec :: with_capacity ( 253 ) ; self . scan_cb ( | x | result . push ( x ) ) ? ; Ok ( result ) }
Scan a bus for motors with a broadcast ping, returning the responses in a [`Vec`].
Scan a bus for motors with a broadcast ping returning the responses in a [ ` Vec ` ] .
&mut self
&mut self