#[repr(u16)]pub enum Ndta {
Unspec = 0,
Name = 1,
Thresh1 = 2,
Thresh2 = 3,
Thresh3 = 4,
Config = 5,
Parms = 6,
Stats = 7,
GcInterval = 8,
Pad = 9,
_MAX = 10,
}
Variants§
Unspec = 0
Name = 1
Thresh1 = 2
Thresh2 = 3
Thresh3 = 4
Config = 5
Parms = 6
Stats = 7
GcInterval = 8
Pad = 9
_MAX = 10
Implementations§
Source§impl Ndta
impl Ndta
pub fn put_name<'a>(nlv: &'a mut MsgVec, data: &str) -> Result<&'a mut MsgVec>
pub fn put_thresh1<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_thresh2<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_thresh3<'a>( nlv: &'a mut MsgVec, data: &u32, ) -> Result<&'a mut MsgVec>
pub fn put_config<'a>( nlv: &'a mut MsgVec, data: &NdtConfig, ) -> Result<&'a mut MsgVec>
pub fn parms_start(nlv: &mut MsgVec) -> Result<&mut MsgVec>
pub fn put_stats<'a>( nlv: &'a mut MsgVec, data: &NdtStats, ) -> Result<&'a mut MsgVec>
pub fn put_gc_interval<'a>( nlv: &'a mut MsgVec, data: &u64, ) -> Result<&'a mut MsgVec>
Trait Implementations§
impl Copy for Ndta
impl Eq for Ndta
impl StructuralPartialEq for Ndta
Auto Trait Implementations§
impl Freeze for Ndta
impl RefUnwindSafe for Ndta
impl Send for Ndta
impl Sync for Ndta
impl Unpin for Ndta
impl UnwindSafe for Ndta
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