#[non_exhaustive]pub struct IpoibInfo {
pub pkey: u16,
pub mode: IpoibMode,
pub umcast: bool,
pub base_iface: Option<String>,
}
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.pkey: u16
§mode: IpoibMode
§umcast: bool
§base_iface: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for IpoibInfo
impl<'de> Deserialize<'de> for IpoibInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for IpoibInfo
impl PartialEq for IpoibInfo
impl Eq for IpoibInfo
impl StructuralPartialEq for IpoibInfo
Auto Trait Implementations§
impl Freeze for IpoibInfo
impl RefUnwindSafe for IpoibInfo
impl Send for IpoibInfo
impl Sync for IpoibInfo
impl Unpin for IpoibInfo
impl UnwindSafe for IpoibInfo
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