pub enum ClientProviderRequest {
NewClient {
params: NewClientParams,
request: ServerEnd<ClientMarker>,
control_handle: ClientProviderControlHandle,
},
}
Expand description
Provides a method to create new clients.
Variants§
NewClient
Fields
§
params: NewClientParams
§
request: ServerEnd<ClientMarker>
§
control_handle: ClientProviderControlHandle
Provides a DHCPv6 client.
- request
params
the parameters to create the client with. - request
request
grants control over the client. Closed with an epitaph if the client cannot be created.
Implementations§
source§impl ClientProviderRequest
impl ClientProviderRequest
pub fn into_new_client( self ) -> Option<(NewClientParams, ServerEnd<ClientMarker>, ClientProviderControlHandle)>
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 ClientProviderRequest
impl Send for ClientProviderRequest
impl Sync for ClientProviderRequest
impl Unpin for ClientProviderRequest
impl !UnwindSafe for ClientProviderRequest
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