pub enum NameProviderRequest {
GetDeviceName {
responder: NameProviderGetDeviceNameResponder,
},
}
Expand description
Interface for getting device names.
Variants§
GetDeviceName
Return the name of this Fuchsia device.
Fields
§
responder: NameProviderGetDeviceNameResponder
Implementations§
Source§impl NameProviderRequest
impl NameProviderRequest
pub fn into_get_device_name(self) -> Option<NameProviderGetDeviceNameResponder>
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 NameProviderRequest
impl !RefUnwindSafe for NameProviderRequest
impl Send for NameProviderRequest
impl Sync for NameProviderRequest
impl Unpin for NameProviderRequest
impl !UnwindSafe for NameProviderRequest
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