pub enum DsMode {
Normal,
Simulation,
}Expand description
The operating mode of the driver station
Normal operating mode connects to the IP specified by a team number Simulation mode connects to localhost, and is activated by a connection to ::1135
Variants§
Trait Implementations§
impl Copy for DsMode
impl Eq for DsMode
impl StructuralPartialEq for DsMode
Auto Trait Implementations§
impl Freeze for DsMode
impl RefUnwindSafe for DsMode
impl Send for DsMode
impl Sync for DsMode
impl Unpin for DsMode
impl UnwindSafe for DsMode
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