Enum can_type_rs::j1939::CommunicationMode
source · pub enum CommunicationMode {
P2P,
Broadcast,
}Expand description
Represents the communication mode.
Variants§
P2P
Point-to-Point communication mode. This PDU communication variant may contain a destination address.
Broadcast
Broadcast communication mode.
Trait Implementations§
source§impl Clone for CommunicationMode
impl Clone for CommunicationMode
source§fn clone(&self) -> CommunicationMode
fn clone(&self) -> CommunicationMode
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 moresource§impl Debug for CommunicationMode
impl Debug for CommunicationMode
source§impl PartialEq for CommunicationMode
impl PartialEq for CommunicationMode
impl Copy for CommunicationMode
impl Eq for CommunicationMode
impl StructuralPartialEq for CommunicationMode
Auto Trait Implementations§
impl Freeze for CommunicationMode
impl RefUnwindSafe for CommunicationMode
impl Send for CommunicationMode
impl Sync for CommunicationMode
impl Unpin for CommunicationMode
impl UnwindSafe for CommunicationMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)