pub struct ActuateSimulatorChannels {
pub tx_actuate_simulator_to_tcp_opt: Option<AquaSender<InternalCommand>>,
}Fields§
§tx_actuate_simulator_to_tcp_opt: Option<AquaSender<InternalCommand>>Implementations§
Source§impl ActuateSimulatorChannels
impl ActuateSimulatorChannels
Sourcepub fn send_to_tcp(
&mut self,
command: InternalCommand,
) -> Option<Result<(), AquaChannelError>>
pub fn send_to_tcp( &mut self, command: InternalCommand, ) -> Option<Result<(), AquaChannelError>>
Sends a command to the TCP simulator if the channel exists.
This wrapper function sends a command and increments the associated debug
counter if the debug_channels feature is enabled.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActuateSimulatorChannels
impl RefUnwindSafe for ActuateSimulatorChannels
impl Send for ActuateSimulatorChannels
impl Sync for ActuateSimulatorChannels
impl Unpin for ActuateSimulatorChannels
impl UnwindSafe for ActuateSimulatorChannels
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