pub enum PrefixProviderRequest {
AcquirePrefix {
config: AcquirePrefixConfig,
prefix: ServerEnd<PrefixControlMarker>,
control_handle: PrefixProviderControlHandle,
},
}
Expand description
Provides IPv6 prefixes acquired via Prefix delegation.
Variants§
AcquirePrefix
Acquire an IPv6 prefix via Prefix Delegation.
If this method is called with invalid parameters, a terminal event
containing a reason detailing why will be sent via
[PrefixControl.OnExit
] and the server end of [PrefixControl
]
will be closed.
- request
config
prefix acquisition configuration. - request
prefix
provides control over prefix acquisition.
Fields
§
config: AcquirePrefixConfig
§
prefix: ServerEnd<PrefixControlMarker>
§
control_handle: PrefixProviderControlHandle
Implementations§
Source§impl PrefixProviderRequest
impl PrefixProviderRequest
pub fn into_acquire_prefix( self, ) -> Option<(AcquirePrefixConfig, ServerEnd<PrefixControlMarker>, PrefixProviderControlHandle)>
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 PrefixProviderRequest
impl !RefUnwindSafe for PrefixProviderRequest
impl Send for PrefixProviderRequest
impl Sync for PrefixProviderRequest
impl Unpin for PrefixProviderRequest
impl !UnwindSafe for PrefixProviderRequest
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