pub enum ThreadCapabilitiesRequest {
GetCapabilities {
responder: ThreadCapabilitiesGetCapabilitiesResponder,
},
}
Expand description
Protocol for retrieving supported capabilities of the thread stack.
Variants§
GetCapabilities
Returns the current capabilities of Openthread for this interface.
capabilities is not expected to change for the lifetime of the interface.
Fields
§
responder: ThreadCapabilitiesGetCapabilitiesResponder
Implementations§
Source§impl ThreadCapabilitiesRequest
impl ThreadCapabilitiesRequest
pub fn into_get_capabilities( self, ) -> Option<ThreadCapabilitiesGetCapabilitiesResponder>
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 ThreadCapabilitiesRequest
impl !RefUnwindSafe for ThreadCapabilitiesRequest
impl Send for ThreadCapabilitiesRequest
impl Sync for ThreadCapabilitiesRequest
impl Unpin for ThreadCapabilitiesRequest
impl !UnwindSafe for ThreadCapabilitiesRequest
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