pub struct Receiver(/* private fields */);
Implementations§
Source§impl Receiver
impl Receiver
pub fn enable(&self, sampling_period: i32)
pub fn disable(&self)
pub fn get_sampling_period(&self) -> i32
pub fn get_next_packet(&self) -> Result<Option<Packet>, ReceiverError>
pub fn set_channel(&self, channel: i32)
pub fn get_channel(&self) -> i32
Auto Trait Implementations§
impl Freeze for Receiver
impl RefUnwindSafe for Receiver
impl Send for Receiver
impl Sync for Receiver
impl Unpin for Receiver
impl UnwindSafe for Receiver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more