pub struct Controller;Expand description
What starts and stops a run: the host tier, never a node.
Whatever calls CsiNode::run and
CsiNodeClient::send_stop is the run’s controller. In
practice that is the serial console of esp-csi-cli-rs, the HTTP control route of
csi-webserver, the on-device UI task of esp-csi-litetui-rs, or your own application.
Controlling a run is not initiating a session: a SessionRole::Initiator is a node that
originates soundings inside the WLAN. In IEEE 802.11bf terms the controller is the layer above
the MAC that requests measurements through its service interface. No node reports this role;
the type exists so the crates that drive a node can name it instead of inventing a word.
Trait Implementations§
Source§impl Clone for Controller
impl Clone for Controller
impl Copy for Controller
Source§impl Debug for Controller
impl Debug for Controller
Source§impl Default for Controller
impl Default for Controller
impl Eq for Controller
Source§impl PartialEq for Controller
impl PartialEq for Controller
impl StructuralPartialEq for Controller
Auto Trait Implementations§
impl Freeze for Controller
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnsafeUnpin for Controller
impl UnwindSafe for Controller
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