[][src]Struct saberrs::SabertoothPort

pub struct SabertoothPort { /* fields omitted */ }

Raw Sabertooth controller.

It is a simple wrapper around a serial port handle and may be used for manually write and read bytes with the device.

Requires the "serialport" feature (enabled by default).

Implementations

impl SabertoothPort[src]

pub fn new(port: &str) -> Result<SabertoothPort>[src]

Create a new SabertoothPort with a default configuration

Trait Implementations

impl Debug for SabertoothPort[src]

impl Read for SabertoothPort[src]

impl SabertoothSerial for SabertoothPort[src]

impl Write for SabertoothPort[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.