pub enum ClientProviderRequest {
NewClient {
params: NewClientParams,
request: ServerEnd<ClientMarker>,
control_handle: ClientProviderControlHandle,
},
}
Expand description
Provides a method to create new clients.
Variants§
NewClient
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.
Fields
§
params: NewClientParams
§
request: ServerEnd<ClientMarker>
§
control_handle: ClientProviderControlHandle
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 Freeze for ClientProviderRequest
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