pub enum StateRequest {
GetInterfaceDefaults {
responder: StateGetInterfaceDefaultsResponder,
},
GetTcp {
responder: StateGetTcpResponder,
},
GetUdp {
responder: StateGetUdpResponder,
},
GetIcmp {
responder: StateGetIcmpResponder,
},
GetIp {
responder: StateGetIpResponder,
},
GetDevice {
responder: StateGetDeviceResponder,
},
}
Expand description
Provides read access to the network stack namespace-wide settings.
Variants§
GetInterfaceDefaults
Returns the current default settings for interfaces.
Fields
§
responder: StateGetInterfaceDefaultsResponder
GetTcp
Returns the current TCP settings values.
Fields
§
responder: StateGetTcpResponder
GetUdp
Returns the current UDP settings values.
Fields
§
responder: StateGetUdpResponder
GetIcmp
Returns the current ICMP settings values.
Fields
§
responder: StateGetIcmpResponder
GetIp
Returns the current IP settings values.
Fields
§
responder: StateGetIpResponder
GetDevice
Returns the current device layer settings values.
Fields
§
responder: StateGetDeviceResponder
Implementations§
Source§impl StateRequest
impl StateRequest
pub fn into_get_interface_defaults( self, ) -> Option<StateGetInterfaceDefaultsResponder>
pub fn into_get_tcp(self) -> Option<StateGetTcpResponder>
pub fn into_get_udp(self) -> Option<StateGetUdpResponder>
pub fn into_get_icmp(self) -> Option<StateGetIcmpResponder>
pub fn into_get_ip(self) -> Option<StateGetIpResponder>
pub fn into_get_device(self) -> Option<StateGetDeviceResponder>
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 Freeze for StateRequest
impl !RefUnwindSafe for StateRequest
impl Send for StateRequest
impl Sync for StateRequest
impl Unpin for StateRequest
impl !UnwindSafe for StateRequest
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