pub struct KernelUdsDemux { /* private fields */ }Expand description
Kernel-backed ISO-TP demux for UDS normal-fixed addressing (0x18DA_TA_SA) (non-Linux stub).
Implementations§
Source§impl KernelUdsDemux
impl KernelUdsDemux
pub fn new( _iface: impl Into<String>, local_addr: u8, options: IsoTpKernelOptions, ) -> Self
pub fn local_addr(&self) -> u8
pub fn register_peer(&mut self, _peer: u8) -> Result<(), Error>
Trait Implementations§
Source§impl Debug for KernelUdsDemux
impl Debug for KernelUdsDemux
Source§impl IsoTpEndpoint for KernelUdsDemux
impl IsoTpEndpoint for KernelUdsDemux
Source§fn send_to(
&mut self,
_to: u8,
_payload: &[u8],
_timeout: Duration,
) -> Result<(), SendError<Self::Error>>
fn send_to( &mut self, _to: u8, _payload: &[u8], _timeout: Duration, ) -> Result<(), SendError<Self::Error>>
Send a payload to a specific peer address.
Auto Trait Implementations§
impl Freeze for KernelUdsDemux
impl RefUnwindSafe for KernelUdsDemux
impl Send for KernelUdsDemux
impl Sync for KernelUdsDemux
impl Unpin for KernelUdsDemux
impl UnsafeUnpin for KernelUdsDemux
impl UnwindSafe for KernelUdsDemux
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