pub struct NetPrioBuilder { /* private fields */ }Expand description
net_prio subsystem builder.
This struct is crated by Builder::net_prio method.
Implementations§
Source§impl NetPrioBuilder
impl NetPrioBuilder
Sourcepub fn ifpriomap(
self,
if_prio_map: impl IntoIterator<Item = (String, u32)>,
) -> Self
pub fn ifpriomap( self, if_prio_map: impl IntoIterator<Item = (String, u32)>, ) -> Self
Sets a map of priorities assigned to traffic originating from this cgroup.
See net_prio::Subsystem::set_ifpriomap for more information.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NetPrioBuilder
impl RefUnwindSafe for NetPrioBuilder
impl Send for NetPrioBuilder
impl Sync for NetPrioBuilder
impl Unpin for NetPrioBuilder
impl UnsafeUnpin for NetPrioBuilder
impl UnwindSafe for NetPrioBuilder
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