Enum ptp::PtpDataType [] [src]

pub enum PtpDataType {
    UNDEF,
    INT8(i8),
    UINT8(u8),
    INT16(i16),
    UINT16(u16),
    INT32(i32),
    UINT32(u32),
    INT64(i64),
    UINT64(u64),
    INT128((u64, u64)),
    UINT128((u64, u64)),
    AINT8(Vec<i8>),
    AUINT8(Vec<u8>),
    AINT16(Vec<i16>),
    AUINT16(Vec<u16>),
    AINT32(Vec<i32>),
    AUINT32(Vec<u32>),
    AINT64(Vec<i64>),
    AUINT64(Vec<u64>),
    AINT128(Vec<(u64, u64)>),
    AUINT128(Vec<(u64, u64)>),
    STR(String),
}

Variants

Methods

impl PtpDataType
[src]

Trait Implementations

impl Debug for PtpDataType
[src]

Formats the value using the given formatter.

impl PartialEq for PtpDataType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> From<i8> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<u8> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<i16> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<u16> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<i32> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<u32> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<i64> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<u64> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<&'a str> for PtpDataType
[src]

Performs the conversion.

impl<'a> From<String> for PtpDataType
[src]

Performs the conversion.