pub struct NetworkPortCommand(/* private fields */);Expand description
Commands for a NetworkPort object (Clause 12.56 (Command)).
Implementations§
Source§impl NetworkPortCommand
impl NetworkPortCommand
Sourcepub const DISCARD_CHANGES: Self
pub const DISCARD_CHANGES: Self
Wire value 1.
Sourcepub const RENEW_FD_REGISTRATION: Self
pub const RENEW_FD_REGISTRATION: Self
Wire value 2.
Sourcepub const RESTART_SLAVE_DISCOVERY: Self
pub const RESTART_SLAVE_DISCOVERY: Self
Wire value 3.
Sourcepub const RENEW_DHCP: Self
pub const RENEW_DHCP: Self
Wire value 4.
Sourcepub const RESTART_AUTONEG: Self
pub const RESTART_AUTONEG: Self
Wire value 5.
Sourcepub const DISCONNECT: Self
pub const DISCONNECT: Self
Wire value 6.
Sourcepub const RESTART_PORT: Self
pub const RESTART_PORT: Self
Wire value 7.
Trait Implementations§
Source§impl Clone for NetworkPortCommand
impl Clone for NetworkPortCommand
impl Copy for NetworkPortCommand
Source§impl Debug for NetworkPortCommand
impl Debug for NetworkPortCommand
Source§impl Display for NetworkPortCommand
impl Display for NetworkPortCommand
impl Eq for NetworkPortCommand
Source§impl FromStr for NetworkPortCommand
impl FromStr for NetworkPortCommand
Source§fn from_str(s: &str) -> Result<Self, Self::Err>
fn from_str(s: &str) -> Result<Self, Self::Err>
Parse a symbolic constant name, ignoring _/- separators and
ASCII case, so every common spelling of a name is accepted
(ANALOG_INPUT, analog-input, AnalogInput, analogInput, …).
Raw numeric values are not accepted; use
from_raw for those.
Source§type Err = ParseEnumError
type Err = ParseEnumError
The associated error which can be returned from parsing.
Source§impl Hash for NetworkPortCommand
impl Hash for NetworkPortCommand
Source§impl PartialEq for NetworkPortCommand
impl PartialEq for NetworkPortCommand
impl StructuralPartialEq for NetworkPortCommand
Auto Trait Implementations§
impl Freeze for NetworkPortCommand
impl RefUnwindSafe for NetworkPortCommand
impl Send for NetworkPortCommand
impl Sync for NetworkPortCommand
impl Unpin for NetworkPortCommand
impl UnsafeUnpin for NetworkPortCommand
impl UnwindSafe for NetworkPortCommand
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