pub struct EspTwaiFrame { /* private fields */ }Expand description
A TWAI Frame.
Implementations§
Source§impl EspTwaiFrame
impl EspTwaiFrame
Trait Implementations§
Source§impl Clone for EspTwaiFrame
Available on crate feature unstable only.
impl Clone for EspTwaiFrame
Available on crate feature
unstable only.Source§fn clone(&self) -> EspTwaiFrame
fn clone(&self) -> EspTwaiFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EspTwaiFrame
Available on crate feature
unstable only.Source§impl Debug for EspTwaiFrame
Available on crate feature unstable only.
impl Debug for EspTwaiFrame
Available on crate feature
unstable only.Source§impl Frame for EspTwaiFrame
Available on crate feature unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
impl Frame for EspTwaiFrame
Available on crate feature
unstable only.§Stability
This API is marked as unstable and is only available when the unstable
crate feature is enabled. This comes with no stability guarantees, and could be changed
or removed at any time.
Source§fn new_remote(id: impl Into<Id>, dlc: usize) -> Option<Self>
fn new_remote(id: impl Into<Id>, dlc: usize) -> Option<Self>
Creates a new remote frame (RTR bit set). Read more
Source§fn is_extended(&self) -> bool
fn is_extended(&self) -> bool
Returns true if this frame is a extended frame.
Source§fn is_remote_frame(&self) -> bool
fn is_remote_frame(&self) -> bool
Returns true if this frame is a remote frame.
Source§fn dlc(&self) -> usize
fn dlc(&self) -> usize
Returns the data length code (DLC) which is in the range 0..8. Read more
Source§fn is_standard(&self) -> bool
fn is_standard(&self) -> bool
Returns true if this frame is a standard frame.
Source§fn is_data_frame(&self) -> bool
fn is_data_frame(&self) -> bool
Returns true if this frame is a data frame.
Auto Trait Implementations§
impl Freeze for EspTwaiFrame
impl RefUnwindSafe for EspTwaiFrame
impl Send for EspTwaiFrame
impl Sync for EspTwaiFrame
impl Unpin for EspTwaiFrame
impl UnsafeUnpin for EspTwaiFrame
impl UnwindSafe for EspTwaiFrame
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