Enum gphoto::PortType [] [src]

pub enum PortType {
    Serial,
    USB,
    Disk,
    PTPIP,
    Direct,
    SCSI,
    Other,
}

Types of ports.

Variants

Serial

Serial port.

USB

USB port.

Disk

Disk or local mountpoint.

PTPIP

PTP or IP connection.

Direct

Direct I/O on a USB mass storage device.

SCSI

USB mass storage raw SCSI port.

Other

Unknown port type.

Trait Implementations

Derived Implementations

impl Hash for PortType

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Copy for PortType

impl Clone for PortType

fn clone(&self) -> PortType

fn clone_from(&mut self, source: &Self)

impl Eq for PortType

impl PartialEq for PortType

fn eq(&self, __arg_0: &PortType) -> bool

fn ne(&self, __arg_0: &PortType) -> bool

impl Debug for PortType

fn fmt(&self, __arg_0: &mut Formatter) -> Result