[][src]Struct libftd2xx::Ft4232h

pub struct Ft4232h { /* fields omitted */ }

FT4232H device.

Example

Converting from an unknown FTDI device.

use std::convert::TryFrom;
use libftd2xx::{Ftdi, Ft4232h};

let mut ftdi = Ftdi::new()?;
let ft4232h: Ft4232h = Ft4232h::try_from(&mut ftdi)?;

Implementations

impl Ft4232h[src]

pub fn with_serial_number(
    serial_number: &str
) -> Result<Ft4232h, DeviceTypeError>
[src]

Open a Ft4232h device and initialize the handle.

Example

use libftd2xx::Ft4232h;

Ft4232h::with_serial_number("FT4PWSEOA")?;

Trait Implementations

impl FtdiCommon for Ft4232h[src]

impl FtdiEeprom for Ft4232h[src]

type Eeprom = Eeprom4232h

EEPROM data structure for the specific device.

impl FtdiMpsse for Ft4232h[src]

impl<'_> TryFrom<&'_ mut Ftdi> for Ft4232h[src]

type Error = DeviceTypeError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Ft4232h

impl !Send for Ft4232h

impl !Sync for Ft4232h

impl Unpin for Ft4232h

impl UnwindSafe for Ft4232h

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.