[][src]Struct candid_client::frame::Frame

pub struct Frame {
    pub id: u32,
    pub data: [u8; 8],
}

Represents a basic CAN Frame containing the frame's id and data

Fields

id: u32data: [u8; 8]

Methods

impl Frame[src]

pub fn new(id: u32, data: [u8; 8]) -> Frame[src]

Creates a new frame with the given id and data

pub fn to_string(&self) -> String[src]

Trait Implementations

impl Copy for Frame[src]

impl Clone for Frame[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Frame[src]

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]