pub enum ManagementAgent {
NetCfg(NetCfgVersion),
}
Expand description
The network manager to use in a KnownServiceProvider::Manager
.
Variants§
NetCfg(NetCfgVersion)
A version of netcfg.
Implementations§
Source§impl ManagementAgent
impl ManagementAgent
Sourcepub fn get_component_name(&self) -> &'static str
pub fn get_component_name(&self) -> &'static str
Gets the component name for this management agent.
Sourcepub fn get_program_args(&self) -> &[&'static str]
pub fn get_program_args(&self) -> &[&'static str]
Default arguments that should be passed to the component when run in a test realm.
Sourcepub fn get_services(&self) -> &[&'static str]
pub fn get_services(&self) -> &[&'static str]
Gets the services exposed by this management agent.
Trait Implementations§
Source§impl Clone for ManagementAgent
impl Clone for ManagementAgent
Source§fn clone(&self) -> ManagementAgent
fn clone(&self) -> ManagementAgent
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 ManagementAgent
impl Debug for ManagementAgent
Source§impl PartialEq for ManagementAgent
impl PartialEq for ManagementAgent
impl Copy for ManagementAgent
impl Eq for ManagementAgent
impl StructuralPartialEq for ManagementAgent
Auto Trait Implementations§
impl Freeze for ManagementAgent
impl RefUnwindSafe for ManagementAgent
impl Send for ManagementAgent
impl Sync for ManagementAgent
impl Unpin for ManagementAgent
impl UnwindSafe for ManagementAgent
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,
§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> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more