pub struct FieldbusRequest {
pub request_creation_time: Instant,
pub packet: Vec<u8>,
}
Expand description
Структура отдельного запроса на коммуникацию по шине UART
Fields§
§request_creation_time: Instant
Время создания запроса.
Можно контролировать время выполнения запросов
packet: Vec<u8>
Данные для передачи по uart
Implementations§
Trait Implementations§
Source§impl Clone for FieldbusRequest
impl Clone for FieldbusRequest
Source§fn clone(&self) -> FieldbusRequest
fn clone(&self) -> FieldbusRequest
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FieldbusRequest
impl RefUnwindSafe for FieldbusRequest
impl Send for FieldbusRequest
impl Sync for FieldbusRequest
impl Unpin for FieldbusRequest
impl UnwindSafe for FieldbusRequest
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