pub struct GroupSyncRead { /* private fields */ }Implementations§
Source§impl GroupSyncRead
impl GroupSyncRead
pub fn new(start_address: u8, data_length: usize) -> Self
pub fn add_param(&mut self, sts_id: u8) -> bool
pub fn remove_param(&mut self, sts_id: u8)
pub fn clear_param(&mut self)
pub fn tx_packet(&mut self, ph: &mut ProtocolPacketHandler<'_>) -> CommResult
pub fn rx_packet(&mut self, ph: &mut ProtocolPacketHandler<'_>) -> CommResult
pub fn tx_rx_packet(&mut self, ph: &mut ProtocolPacketHandler<'_>) -> CommResult
pub fn is_available( &self, sts_id: u8, address: u8, data_length: usize, ) -> (bool, u8)
pub fn get_data( &self, ph: &ProtocolPacketHandler<'_>, sts_id: u8, address: u8, data_length: usize, ) -> u32
Auto Trait Implementations§
impl Freeze for GroupSyncRead
impl RefUnwindSafe for GroupSyncRead
impl Send for GroupSyncRead
impl Sync for GroupSyncRead
impl Unpin for GroupSyncRead
impl UnwindSafe for GroupSyncRead
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