Struct xbee_s2c::XBeeApiReceiver
source · pub struct XBeeApiReceiver<'a, E> { /* private fields */ }
Implementations
sourceimpl<'a, E> XBeeApiReceiver<'a, E>
impl<'a, E> XBeeApiReceiver<'a, E>
pub fn queue_empty(&self) -> bool
pub fn queue_full(&self) -> bool
pub fn unpack_and_parse_buffer<'d>(
&'d self
) -> Result<ApiData<'d>, XBeeApiError>
pub fn remove_until_packet(&mut self) -> Result<usize, ()>
pub fn remove_until_next_packet(&mut self) -> Result<usize, ()>
pub fn as_slice(&self) -> &[u8]
Trait Implementations
Auto Trait Implementations
impl<'a, E> RefUnwindSafe for XBeeApiReceiver<'a, E>where
E: RefUnwindSafe,
impl<'a, E> !Send for XBeeApiReceiver<'a, E>
impl<'a, E> !Sync for XBeeApiReceiver<'a, E>
impl<'a, E> Unpin for XBeeApiReceiver<'a, E>
impl<'a, E> !UnwindSafe for XBeeApiReceiver<'a, E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more