pub struct LinkRule {
pub link_shape: LinkShape,
pub subnet: IpNetwork,
}Expand description
LinkRule applies a LinkShape to a subnet.
Fields§
§link_shape: LinkShape§subnet: IpNetworkTrait Implementations§
Auto Trait Implementations§
impl Freeze for LinkRule
impl RefUnwindSafe for LinkRule
impl Send for LinkRule
impl Sync for LinkRule
impl Unpin for LinkRule
impl UnsafeUnpin for LinkRule
impl UnwindSafe for LinkRule
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