pub struct SocketCan;Expand description
Classic CAN SocketCAN adapter (non-Linux stub).
Implementations§
Source§impl SocketCan
impl SocketCan
Sourcepub fn open(_iface: &str) -> Result<Self, UnsupportedPlatformError>
pub fn open(_iface: &str) -> Result<Self, UnsupportedPlatformError>
Always returns UnsupportedPlatformError on non-Linux targets.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SocketCan
impl RefUnwindSafe for SocketCan
impl Send for SocketCan
impl Sync for SocketCan
impl Unpin for SocketCan
impl UnsafeUnpin for SocketCan
impl UnwindSafe for SocketCan
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