pub struct EndpointInfo {
pub addr: EndpointAddress,
pub ep_type: EndpointType,
pub max_packet_size: u16,
pub interval_ms: u8,
pub max_burst: u8,
}Expand description
Information for an endpoint.
Fields§
§addr: EndpointAddressEndpoint’s address.
ep_type: EndpointTypeEndpoint’s type.
max_packet_size: u16Max packet size, in bytes.
interval_ms: u8Polling interval, in milliseconds.
max_burst: u8SuperSpeed bMaxBurst: the endpoint bursts up to max_burst + 1 packets. 0 below
SuperSpeed.
Trait Implementations§
Source§impl Clone for EndpointInfo
impl Clone for EndpointInfo
impl Copy for EndpointInfo
Source§impl Debug for EndpointInfo
impl Debug for EndpointInfo
impl Eq for EndpointInfo
Source§impl Format for EndpointInfo
impl Format for EndpointInfo
Source§impl PartialEq for EndpointInfo
impl PartialEq for EndpointInfo
impl StructuralPartialEq for EndpointInfo
Auto Trait Implementations§
impl Forget for EndpointInfo
impl Freeze for EndpointInfo
impl Move for EndpointInfo
impl RefUnwindSafe for EndpointInfo
impl Send for EndpointInfo
impl Sync for EndpointInfo
impl Unpin for EndpointInfo
impl UnsafeUnpin for EndpointInfo
impl UnwindSafe for EndpointInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more