pub struct EndpointInfo {
pub addr: EndpointAddress,
pub ep_type: EndpointType,
pub max_packet_size: u16,
pub interval_ms: u8,
}
Expand description
Information for an endpoint.
Fields§
§addr: EndpointAddress
Endpoint’s address.
ep_type: EndpointType
Endpoint’s type.
max_packet_size: u16
Max packet size, in bytes.
interval_ms: u8
Polling interval, in milliseconds.
Trait Implementations§
source§impl Clone for EndpointInfo
impl Clone for EndpointInfo
source§fn clone(&self) -> EndpointInfo
fn clone(&self) -> EndpointInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EndpointInfo
impl Debug for EndpointInfo
source§impl Format for EndpointInfo
impl Format for EndpointInfo
source§impl PartialEq for EndpointInfo
impl PartialEq for EndpointInfo
impl Copy for EndpointInfo
impl Eq for EndpointInfo
impl StructuralPartialEq for EndpointInfo
Auto Trait Implementations§
impl Freeze for EndpointInfo
impl RefUnwindSafe for EndpointInfo
impl Send for EndpointInfo
impl Sync for EndpointInfo
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)