pub enum FakeSocketProxy_Request {
SetDns {
servers: Vec<DnsServerList>,
responder: FakeSocketProxy_SetDnsResponder,
},
}Variants§
SetDns
Sets a list of DNS servers that should be reported via
[fuchsia.net.policy.socketproxy.DnsServerWatcher].
Implementations§
Source§impl FakeSocketProxy_Request
impl FakeSocketProxy_Request
pub fn into_set_dns( self, ) -> Option<(Vec<DnsServerList>, FakeSocketProxy_SetDnsResponder)>
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 FakeSocketProxy_Request
impl !RefUnwindSafe for FakeSocketProxy_Request
impl Send for FakeSocketProxy_Request
impl Sync for FakeSocketProxy_Request
impl Unpin for FakeSocketProxy_Request
impl UnsafeUnpin for FakeSocketProxy_Request
impl !UnwindSafe for FakeSocketProxy_Request
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