Struct rusb::EndpointDescriptor [−][src]
pub struct EndpointDescriptor<'a> { /* fields omitted */ }
Expand description
Describes an endpoint.
Implementations
impl<'a> EndpointDescriptor<'a>
[src]
impl<'a> EndpointDescriptor<'a>
[src]pub fn transfer_type(&self) -> TransferType
[src]
pub fn transfer_type(&self) -> TransferType
[src]Returns the endpoint’s transfer type.
pub fn sync_type(&self) -> SyncType
[src]
pub fn sync_type(&self) -> SyncType
[src]Returns the endpoint’s synchronisation mode.
The return value of this method is only valid for isochronous endpoints.
pub fn usage_type(&self) -> UsageType
[src]
pub fn usage_type(&self) -> UsageType
[src]Returns the endpoint’s usage type.
The return value of this method is only valid for isochronous endpoints.
pub fn max_packet_size(&self) -> u16
[src]
pub fn max_packet_size(&self) -> u16
[src]Returns the endpoint’s maximum packet size.
pub fn extra(&'a self) -> Option<&'a [u8]>
[src]
pub fn extra(&'a self) -> Option<&'a [u8]>
[src]Returns the unknown ‘extra’ bytes that libusb does not understand.
pub fn refresh(&self) -> u8
[src]
pub fn refresh(&self) -> u8
[src]For audio devices only: return the rate at which synchronization feedback is provided.
pub fn synch_address(&self) -> u8
[src]
pub fn synch_address(&self) -> u8
[src]For audio devices only: return the address if the synch endpoint.