#[non_exhaustive]pub struct VirtualChannel {
pub name: String,
pub scheduler_map: Option<String>,
pub shaping_rate: Option<SchedulerRate>,
pub default: bool,
}Expand description
A virtual channel of a virtual channel group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§scheduler_map: Option<String>§shaping_rate: Option<SchedulerRate>§default: boolThe channel that carries traffic no filter sends elsewhere.
Trait Implementations§
Source§impl Clone for VirtualChannel
impl Clone for VirtualChannel
Source§impl Debug for VirtualChannel
impl Debug for VirtualChannel
impl Eq for VirtualChannel
Source§impl PartialEq for VirtualChannel
impl PartialEq for VirtualChannel
impl StructuralPartialEq for VirtualChannel
Auto Trait Implementations§
impl Forget for VirtualChannel
impl Freeze for VirtualChannel
impl Move for VirtualChannel
impl RefUnwindSafe for VirtualChannel
impl Send for VirtualChannelwhere
RawVecInner: Send,
impl Sync for VirtualChannelwhere
RawVecInner: Sync,
impl Unpin for VirtualChannel
impl UnsafeUnpin for VirtualChannel
impl UnwindSafe for VirtualChannelwhere
RawVecInner: UnwindSafe,
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