LanCanSocket

Struct LanCanSocket 

Source
pub struct LanCanSocket { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl Debug for LanCanSocket

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Drop for LanCanSocket

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl PartialEq for LanCanSocket

Source§

fn eq(&self, other: &LanCanSocket) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for LanCanSocket

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> AcceptanceFilter11Bit for T
where T: HasAcceptanceFilter11Bit + Channel,

Source§

impl<T> AcceptanceFilter29Bit for T
where T: HasAcceptanceFilter29Bit + Channel,

Source§

impl<T> AllowEchoFrames for T
where T: HasAllowEchoFrames + Channel,

Source§

impl<T> AllowErrorFrames for T
where T: HasAllowErrorFrames + Channel,

Source§

impl<T> AllowRTRFrames for T
where T: HasAllowRTRFrames + Channel,

Source§

impl<T> AllowStatusFrames for T
where T: HasAllowStatusFrames + Channel,

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> BitrateInfo for T
where T: HasBitrateInfo + Channel,

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ChannelFeatures for T
where T: HasChannelFeatures + Channel,

Source§

impl<T> ChannelVersion for T
where T: HasChannelVersion + Channel,

Source§

impl<T> ControllerNumber for T
where T: HasControllerNumber + Channel,

Source§

impl<T> DataBusSpeed for T
where T: HasDataBusSpeed + Channel,

Source§

impl<T> DeviceId for T
where T: HasDeviceId + Channel,

Source§

impl<T> DevicePartNumber for T
where T: HasDevicePartNumber + Channel,

Source§

impl<T> FirmwareVersion for T
where T: HasFirmwareVersion + Channel,

§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> HardwareName for T
where T: HasHardwareName + Channel,

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IpAddress for T
where T: HasIpAddress + Channel,

Source§

impl<T> MessageFilter for T
where T: HasMessageFilter + Channel,

Source§

impl<T> NominalBusSpeed for T
where T: HasNominalBusSpeed + Channel,

Source§

impl<T> ReceiveStatus for T
where T: HasReceiveStatus + Channel,

Source§

impl<T> RecvCan for T
where T: HasRecvCan + Socket,

Source§

impl<T> SendCan for T
where T: HasSendCan + Socket,

Source§

fn send(&self, frame: CanFrame) -> Result<(), CanError>

Source§

impl<T> SetAcceptanceFilter11Bit for T
where T: HasSetAcceptanceFilter11Bit + Channel,

Source§

impl<T> SetAcceptanceFilter29Bit for T
where T: HasSetAcceptanceFilter29Bit + Channel,

Source§

impl<T> SetAllowEchoFrames for T
where T: HasSetAllowEchoFrames + Channel,

Source§

impl<T> SetAllowErrorFrames for T
where T: HasSetAllowErrorFrames + Channel,

Source§

impl<T> SetAllowRTRFrames for T
where T: HasSetAllowRTRFrames + Channel,

Source§

impl<T> SetAllowStatusFrames for T
where T: HasSetAllowStatusFrames + Channel,

Source§

impl<T> SetControllerNumber for T
where T: HasSetControllerNumber + Channel,

Source§

impl<T> SetDeviceId for T
where T: HasSetDeviceId + Channel,

Source§

impl<T> SetMessageFilter for T
where T: HasSetMessageFilter + Channel,

Source§

impl<T> SetReceiveStatus for T
where T: HasSetReceiveStatus + Channel,

Source§

fn set_receiving(&self, status: bool) -> Result<(), CanError>

Source§

impl<T> SetTraceConfigure for T
where T: HasSetTraceConfigure + Channel,

Source§

impl<T> SetTraceLocation for T
where T: HasSetTraceLocation + Channel,

Source§

fn set_trace_location<P>(&self, path: P) -> Result<(), CanError>
where P: AsRef<Path>,

Source§

impl<T> SetTraceSize for T
where T: HasSetTraceSize + Channel,

Source§

fn set_trace_size(&self, size_mb: u8) -> Result<(), CanError>

Source§

impl<T> SetTraceStatus for T
where T: HasSetTraceStatus + Channel,

Source§

fn set_tracing(&self, enable: bool) -> Result<(), CanError>

Source§

impl<T> TraceConfigure for T
where T: HasTraceConfigure + Channel,

Source§

impl<T> TraceLocation for T
where T: HasTraceLocation + Channel,

Source§

impl<T> TraceSize for T
where T: HasTraceSize + Channel,

Source§

impl<T> TraceStatus for T
where T: HasTraceStatus + Channel,

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.