pub struct PushOpInfoGetDoReply<Prev: Rec> { /* private fields */ }Available on crate feature
devlink only.Expand description
Get device information, like driver name, hardware and firmware versions etc.
Implementations§
Source§impl<Prev: Rec> PushOpInfoGetDoReply<Prev>
impl<Prev: Rec> PushOpInfoGetDoReply<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_bus_name(self, value: &CStr) -> Self
pub fn push_bus_name_bytes(self, value: &[u8]) -> Self
pub fn push_dev_name(self, value: &CStr) -> Self
pub fn push_dev_name_bytes(self, value: &[u8]) -> Self
pub fn push_info_driver_name(self, value: &CStr) -> Self
pub fn push_info_driver_name_bytes(self, value: &[u8]) -> Self
pub fn push_info_serial_number(self, value: &CStr) -> Self
pub fn push_info_serial_number_bytes(self, value: &[u8]) -> Self
Sourcepub fn nested_info_version_fixed(self) -> PushDlInfoVersion<Self>
pub fn nested_info_version_fixed(self) -> PushDlInfoVersion<Self>
Attribute may repeat multiple times (treat it as array)
Sourcepub fn nested_info_version_running(self) -> PushDlInfoVersion<Self>
pub fn nested_info_version_running(self) -> PushDlInfoVersion<Self>
Attribute may repeat multiple times (treat it as array)
Sourcepub fn nested_info_version_stored(self) -> PushDlInfoVersion<Self>
pub fn nested_info_version_stored(self) -> PushDlInfoVersion<Self>
Attribute may repeat multiple times (treat it as array)
pub fn push_info_board_serial_number(self, value: &CStr) -> Self
pub fn push_info_board_serial_number_bytes(self, value: &[u8]) -> Self
Trait Implementations§
Source§impl<Prev: Rec> Drop for PushOpInfoGetDoReply<Prev>
impl<Prev: Rec> Drop for PushOpInfoGetDoReply<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushOpInfoGetDoReply<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushOpInfoGetDoReply<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushOpInfoGetDoReply<Prev>where
Prev: Send,
impl<Prev> Sync for PushOpInfoGetDoReply<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushOpInfoGetDoReply<Prev>where
Prev: Unpin,
impl<Prev> UnwindSafe for PushOpInfoGetDoReply<Prev>where
Prev: 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