[−][src]Struct autd_soem_link::SoemLink
Implementations
impl SoemLink
[src]
pub fn new(ifname: &str, dev_num: u16) -> Self
[src]
pub fn set_sm2_cyctime(&mut self, cyctime_ns: u32)
[src]
Trait Implementations
impl Link for SoemLink
[src]
fn open(&mut self) -> Result<(), Box<dyn Error>>
[src]
fn close(&mut self) -> Result<(), Box<dyn Error>>
[src]
fn send(&mut self, data: Vec<u8>) -> Result<(), Box<dyn Error>>
[src]
fn read(&mut self, _buffer_len: u32) -> Result<Vec<u8>, Box<dyn Error>>
[src]
fn is_open(&self) -> bool
[src]
fn calibrate(&mut self) -> Result<bool, Box<dyn Error>>
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SoemLink
impl Send for SoemLink
impl !Sync for SoemLink
impl Unpin for SoemLink
impl !UnwindSafe for SoemLink
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
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>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,