pub enum Operation {
Manage(ManageOp),
PeerRepeaters,
Ping(PingArgs),
}Expand description
What the borrowed radio is being lent out for.
Administering a device and asking a repeater who its neighbors are are different conversations — one is authorized node management, the other a plain MAC command anyone may send — but both need this tool to stop being a serial client and become a node on the mesh. That apparatus is what this enum is here to share.
Variants§
Manage(ManageOp)
PeerRepeaters
Ask the target for the repeaters it knows of.
Ping(PingArgs)
Measure the path to the target.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more