pub struct InterfaceDescriptor {
pub id: InterfaceId,
pub capabilities: InterfaceCapabilities,
pub mode: InterfaceMode,
pub gravity: InterfaceGravity,
pub bitrate: BitrateBps,
pub hardware_mtu: Option<usize>,
pub announce_rate_limit: Option<AnnounceRateLimit>,
pub announce_bandwidth_cap: AnnounceBandwidthCap,
pub airtime_duty_cycle: Option<AirtimeDutyCycle>,
pub common: InterfaceCommonPolicy,
}Fields§
§id: InterfaceId§capabilities: InterfaceCapabilities§mode: InterfaceMode§gravity: InterfaceGravity§bitrate: BitrateBps§hardware_mtu: Option<usize>§announce_rate_limit: Option<AnnounceRateLimit>§announce_bandwidth_cap: AnnounceBandwidthCap§airtime_duty_cycle: Option<AirtimeDutyCycle>§common: InterfaceCommonPolicyTrait Implementations§
Source§impl Clone for InterfaceDescriptor
impl Clone for InterfaceDescriptor
Source§fn clone(&self) -> InterfaceDescriptor
fn clone(&self) -> InterfaceDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InterfaceDescriptor
Source§impl Debug for InterfaceDescriptor
impl Debug for InterfaceDescriptor
impl Eq for InterfaceDescriptor
Source§impl PartialEq for InterfaceDescriptor
impl PartialEq for InterfaceDescriptor
impl StructuralPartialEq for InterfaceDescriptor
Auto Trait Implementations§
impl Freeze for InterfaceDescriptor
impl RefUnwindSafe for InterfaceDescriptor
impl Send for InterfaceDescriptor
impl Sync for InterfaceDescriptor
impl Unpin for InterfaceDescriptor
impl UnsafeUnpin for InterfaceDescriptor
impl UnwindSafe for InterfaceDescriptor
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