pub struct GnsLane {
pub priority: i32,
pub weight: u16,
}Expand description
A connection lane.
priority is a signed C int where a lower value means a higher priority.
weight is the relative scheduling weight within one priority class.
Fields§
§priority: i32§weight: u16Implementations§
Trait Implementations§
impl Copy for GnsLane
impl Eq for GnsLane
impl StructuralPartialEq for GnsLane
Auto Trait Implementations§
impl Freeze for GnsLane
impl RefUnwindSafe for GnsLane
impl Send for GnsLane
impl Sync for GnsLane
impl Unpin for GnsLane
impl UnsafeUnpin for GnsLane
impl UnwindSafe for GnsLane
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