pub enum StackRequest {
SetDhcpClientEnabled {
id: u64,
enable: bool,
responder: StackSetDhcpClientEnabledResponder,
},
}Variants§
SetDhcpClientEnabled
Enables or disables the DHCP client on an interface. TODO(https://fxbug.dev/42162065): Remove this once the DHCP client is moved out of the netstack.
Implementations§
Source§impl StackRequest
impl StackRequest
pub fn into_set_dhcp_client_enabled( self, ) -> Option<(u64, bool, StackSetDhcpClientEnabledResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StackRequest
impl !UnwindSafe for StackRequest
impl Freeze for StackRequest
impl Send for StackRequest
impl Sync for StackRequest
impl Unpin for StackRequest
impl UnsafeUnpin for StackRequest
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