Struct dpdu_rust::ModuleData
source · [−]#[repr(C)]pub struct ModuleData {
pub module_type_id: u32,
pub h_mod: u32,
pub vendor_module_name: *mut u8,
pub vendor_additional_info: *mut u8,
pub status: PduStatus,
}
Expand description
Module identification data
Fields
module_type_id: u32
Module protocol type
h_mod: u32
Module handle ID
vendor_module_name: *mut u8
Null terminated string of module name
vendor_additional_info: *mut u8
Null terminated string pointer of any additional info
status: PduStatus
Module status
Trait Implementations
sourceimpl Clone for ModuleData
impl Clone for ModuleData
sourcefn clone(&self) -> ModuleData
fn clone(&self) -> ModuleData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ModuleData
impl Debug for ModuleData
sourceimpl Ord for ModuleData
impl Ord for ModuleData
sourceimpl PartialEq<ModuleData> for ModuleData
impl PartialEq<ModuleData> for ModuleData
sourcefn eq(&self, other: &ModuleData) -> bool
fn eq(&self, other: &ModuleData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModuleData) -> bool
fn ne(&self, other: &ModuleData) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ModuleData> for ModuleData
impl PartialOrd<ModuleData> for ModuleData
sourcefn partial_cmp(&self, other: &ModuleData) -> Option<Ordering>
fn partial_cmp(&self, other: &ModuleData) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ModuleData
impl Eq for ModuleData
impl StructuralEq for ModuleData
impl StructuralPartialEq for ModuleData
Auto Trait Implementations
impl RefUnwindSafe for ModuleData
impl !Send for ModuleData
impl !Sync for ModuleData
impl Unpin for ModuleData
impl UnwindSafe for ModuleData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more