pub enum KnownServiceProvider {
Netstack(NetstackVersion),
Manager {
agent: ManagementAgent,
config: ManagerConfig,
use_dhcp_server: bool,
use_out_of_stack_dhcp_client: bool,
},
SecureStash,
DhcpServer {
persistent: bool,
},
DhcpClient,
Dhcpv6Client,
DnsResolver,
Reachability {
eager: bool,
},
NetworkTestRealm {
require_outer_netstack: bool,
},
FakeClock,
}
Expand description
Components that provide known services used in tests.
Variants§
Netstack(NetstackVersion)
Manager
SecureStash
DhcpServer
DhcpClient
Dhcpv6Client
DnsResolver
Reachability
NetworkTestRealm
FakeClock
Trait Implementations§
Source§impl Clone for KnownServiceProvider
impl Clone for KnownServiceProvider
Source§fn clone(&self) -> KnownServiceProvider
fn clone(&self) -> KnownServiceProvider
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KnownServiceProvider
impl Debug for KnownServiceProvider
Source§impl<'a> From<&'a KnownServiceProvider> for ChildDef
impl<'a> From<&'a KnownServiceProvider> for ChildDef
Source§fn from(s: &'a KnownServiceProvider) -> Self
fn from(s: &'a KnownServiceProvider) -> Self
Converts to this type from the input type.
Source§impl From<KnownServiceProvider> for ChildDef
impl From<KnownServiceProvider> for ChildDef
Source§fn from(s: KnownServiceProvider) -> Self
fn from(s: KnownServiceProvider) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KnownServiceProvider
impl PartialEq for KnownServiceProvider
impl Eq for KnownServiceProvider
impl StructuralPartialEq for KnownServiceProvider
Auto Trait Implementations§
impl Freeze for KnownServiceProvider
impl RefUnwindSafe for KnownServiceProvider
impl Send for KnownServiceProvider
impl Sync for KnownServiceProvider
impl Unpin for KnownServiceProvider
impl UnwindSafe for KnownServiceProvider
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoAny for T
impl<T> IntoAny for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.