Enum pica::PicaCommand
source · pub enum PicaCommand {
Connect(TcpStream),
Disconnect(usize),
Ranging(usize, u32),
StopRanging(MacAddress, u32),
UciData(usize, DataPacket),
UciCommand(usize, UciCommand),
InitUciDevice(MacAddress, Position, Sender<PicaCommandStatus>),
SetPosition(MacAddress, Position, Sender<PicaCommandStatus>),
CreateAnchor(MacAddress, Position, Sender<PicaCommandStatus>),
DestroyAnchor(MacAddress, Sender<PicaCommandStatus>),
GetState(Sender<Vec<(Category, MacAddress, Position)>>),
}
Variants§
Connect(TcpStream)
Disconnect(usize)
Ranging(usize, u32)
StopRanging(MacAddress, u32)
UciData(usize, DataPacket)
UciCommand(usize, UciCommand)
InitUciDevice(MacAddress, Position, Sender<PicaCommandStatus>)
SetPosition(MacAddress, Position, Sender<PicaCommandStatus>)
CreateAnchor(MacAddress, Position, Sender<PicaCommandStatus>)
DestroyAnchor(MacAddress, Sender<PicaCommandStatus>)
GetState(Sender<Vec<(Category, MacAddress, Position)>>)
Trait Implementations§
source§impl Debug for PicaCommand
impl Debug for PicaCommand
Auto Trait Implementations§
impl !RefUnwindSafe for PicaCommand
impl Send for PicaCommand
impl Sync for PicaCommand
impl Unpin for PicaCommand
impl !UnwindSafe for PicaCommand
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