Struct xbee_s2c::XBeeApiSender
source · pub struct XBeeApiSender<'a, E> { /* private fields */ }
Implementations
sourceimpl<'a, E> XBeeApiSender<'a, E>
impl<'a, E> XBeeApiSender<'a, E>
pub fn queue_empty(&self) -> bool
pub fn queue_full(&self) -> bool
pub fn send_data_raw(&mut self, data: &[u8]) -> Result<(), E>
pub fn send_data(&mut self, frame_id: u8, addr: Addr, data: &[u8]) -> Result<(), E>
pub fn send_data_no_ack(
&mut self,
frame_id: u8,
addr: Addr,
data: &[u8]
) -> Result<(), E>
pub fn at_command(&mut self, frame_id: u8, at_cmd: [u8; 2], params: &[u8])
pub fn at_queue_param(&mut self, frame_id: u8, at_cmd: [u8; 2], params: &[u8])
pub fn remote_at_command(
&mut self,
frame_id: u8,
addr: Addr,
at_cmd: [u8; 2],
params: &[u8]
)
Trait Implementations
sourceimpl<'a, E: Debug> Debug for XBeeApiSender<'a, E>
impl<'a, E: Debug> Debug for XBeeApiSender<'a, E>
Auto Trait Implementations
impl<'a, E> RefUnwindSafe for XBeeApiSender<'a, E>where
E: RefUnwindSafe,
impl<'a, E> !Send for XBeeApiSender<'a, E>
impl<'a, E> !Sync for XBeeApiSender<'a, E>
impl<'a, E> Unpin for XBeeApiSender<'a, E>
impl<'a, E> !UnwindSafe for XBeeApiSender<'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