[−][src]Struct seeed_erpc::rpcs::ScanGetAP
Returns N number of scan results. This RPC must only be called after starting a scan, and after IsScanning returns false.
Implementations
impl<N: ArrayLength<ScanResult>> ScanGetAP<N>
[src]
Trait Implementations
impl<N: ArrayLength<ScanResult>> RPC for ScanGetAP<N>
[src]
type ReturnValue = (GenericArray<ScanResult, N>, i32)
type Error = usize
pub fn header(&self, seq: u32) -> Header
[src]
pub fn args(&self, buff: &mut Vec<u8, U64>)
[src]
pub fn parse(
&mut self,
data: &[u8]
) -> Result<Self::ReturnValue, Err<Self::Error>>
[src]
&mut self,
data: &[u8]
) -> Result<Self::ReturnValue, Err<Self::Error>>
Auto Trait Implementations
impl<N> Send for ScanGetAP<N> where
N: Send,
N: Send,
impl<N> Sync for ScanGetAP<N> where
N: Sync,
N: Sync,
impl<N> Unpin for ScanGetAP<N> where
N: Unpin,
N: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,