pub enum MeshcopRequest {
UpdateTxtEntries {
txt_entries: Vec<TxtEntries>,
responder: MeshcopUpdateTxtEntriesResponder,
},
}
Expand description
Methods associated with the Mesh Commissioning Protocol (Meshcop).
Variants§
UpdateTxtEntries
Updates the TXT record information associated with the Meshcop border agent DNS-SD entry. This allows additional information about the device to be discoverable on the local network when acting as a border agent.
Functionally equivalent to ot-br-posix
’s
UpdateVendorMeshCopTxtEntries
.
Typically, the following keys are updated:
vn
: Vendor Namemn
: Model Namevo
: Vendor OUIvd
/vcd
: Vendor-specific Data
See table 8-4 in section 8.4.1.1.2 of the Thread 1.2 specification for a detailed explanation of all the keys and their values.
Any error that prevents the operation from completing successfully (such as being provided with invalid keys) will result in the protocol being closed.
Implementations§
Source§impl MeshcopRequest
impl MeshcopRequest
pub fn into_update_txt_entries( self, ) -> Option<(Vec<TxtEntries>, MeshcopUpdateTxtEntriesResponder)>
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 MeshcopRequest
impl !RefUnwindSafe for MeshcopRequest
impl Send for MeshcopRequest
impl Sync for MeshcopRequest
impl Unpin for MeshcopRequest
impl !UnwindSafe for MeshcopRequest
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