pub struct EffectiveInterfacePolicy {
pub capabilities: InterfaceCapabilities,
pub mode: InterfaceMode,
pub gravity: InterfaceGravity,
pub bitrate: BitrateBps,
pub mtu: MtuPolicy,
pub announce_rate_limit: Option<AnnounceRateLimit>,
pub announce_bandwidth_cap: AnnounceBandwidthCap,
pub airtime_duty_cycle: Option<AirtimeDutyCycle>,
pub common: InterfaceCommonPolicy,
}Fields§
§capabilities: InterfaceCapabilities§mode: InterfaceMode§gravity: InterfaceGravity§bitrate: BitrateBps§mtu: MtuPolicy§announce_rate_limit: Option<AnnounceRateLimit>§announce_bandwidth_cap: AnnounceBandwidthCap§airtime_duty_cycle: Option<AirtimeDutyCycle>§common: InterfaceCommonPolicyImplementations§
Source§impl EffectiveInterfacePolicy
impl EffectiveInterfacePolicy
pub fn descriptor(self, id: InterfaceId) -> InterfaceDescriptor
Trait Implementations§
Source§impl Clone for EffectiveInterfacePolicy
impl Clone for EffectiveInterfacePolicy
Source§fn clone(&self) -> EffectiveInterfacePolicy
fn clone(&self) -> EffectiveInterfacePolicy
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 EffectiveInterfacePolicy
Source§impl Debug for EffectiveInterfacePolicy
impl Debug for EffectiveInterfacePolicy
impl Eq for EffectiveInterfacePolicy
Source§impl PartialEq for EffectiveInterfacePolicy
impl PartialEq for EffectiveInterfacePolicy
impl StructuralPartialEq for EffectiveInterfacePolicy
Auto Trait Implementations§
impl Freeze for EffectiveInterfacePolicy
impl RefUnwindSafe for EffectiveInterfacePolicy
impl Send for EffectiveInterfacePolicy
impl Sync for EffectiveInterfacePolicy
impl Unpin for EffectiveInterfacePolicy
impl UnsafeUnpin for EffectiveInterfacePolicy
impl UnwindSafe for EffectiveInterfacePolicy
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