pub enum LegacyJoiningConnectorRequest {
Connect {
name: String,
server_end: ServerEnd<LegacyJoiningMarker>,
control_handle: LegacyJoiningConnectorControlHandle,
},
}
Expand description
Protocol for connecting to [LegacyJoining
] on a LoWPAN
interface.
Variants§
Connect
Connects to the [LegacyJoining
] protocol on the
named LoWPAN interface.
The name of the interface can be learned by calling
[fuchsia.lowpan/Lookup.GetDevices
].
If there is an error in processing this request the given channel is closed and an epitaph code used to describe the reason for the failure:
ZX_ERR_INVALID_ARGUMENT
: The given interface name was not formatted correctly or otherwise invalid.ZX_ERR_NOT_FOUND
: No interface was found with the given name.ZX_ERR_NOT_SUPPORTED
: The interface exists but does not support this protocol.
Fields
§
server_end: ServerEnd<LegacyJoiningMarker>
§
control_handle: LegacyJoiningConnectorControlHandle
Implementations§
Source§impl LegacyJoiningConnectorRequest
impl LegacyJoiningConnectorRequest
pub fn into_connect( self, ) -> Option<(String, ServerEnd<LegacyJoiningMarker>, LegacyJoiningConnectorControlHandle)>
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 LegacyJoiningConnectorRequest
impl !RefUnwindSafe for LegacyJoiningConnectorRequest
impl Send for LegacyJoiningConnectorRequest
impl Sync for LegacyJoiningConnectorRequest
impl Unpin for LegacyJoiningConnectorRequest
impl !UnwindSafe for LegacyJoiningConnectorRequest
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