pub enum NetFn {
Chassis,
Bridge,
SensorEvent,
App,
Firmware,
Storage,
Transport,
Reserved(u8),
}Variants§
Implementations§
Source§impl NetFn
impl NetFn
Sourcepub fn request_value(&self) -> u8
pub fn request_value(&self) -> u8
Get the raw data for the request value of this netfn.
Sourcepub fn response_value(&self) -> u8
pub fn response_value(&self) -> u8
Get the raw data for the response value of this netfn.
Trait Implementations§
impl Copy for NetFn
impl StructuralPartialEq for NetFn
Auto Trait Implementations§
impl Freeze for NetFn
impl RefUnwindSafe for NetFn
impl Send for NetFn
impl Sync for NetFn
impl Unpin for NetFn
impl UnwindSafe for NetFn
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