pub struct SocketCanFd;Expand description
CAN-FD SocketCAN adapter (non-Linux stub).
Implementations§
Source§impl SocketCanFd
impl SocketCanFd
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§
Source§impl Debug for SocketCanFd
impl Debug for SocketCanFd
Source§impl Default for SocketCanFd
impl Default for SocketCanFd
Source§fn default() -> SocketCanFd
fn default() -> SocketCanFd
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SocketCanFd
impl RefUnwindSafe for SocketCanFd
impl Send for SocketCanFd
impl Sync for SocketCanFd
impl Unpin for SocketCanFd
impl UnsafeUnpin for SocketCanFd
impl UnwindSafe for SocketCanFd
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