pub struct StubActuator { /* private fields */ }Implementations§
Source§impl StubActuator
impl StubActuator
pub fn new(operations: Arc<OperationsServiceImpl>) -> Self
Trait Implementations§
Source§impl Actuator for StubActuator
impl Actuator for StubActuator
fn command_actuators<'life0, 'async_trait>(
&'life0 self,
_commands: Vec<ActuatorCommand>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ActionResult>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn configure_actuator<'life0, 'async_trait>(
&'life0 self,
_config: ConfigureActuatorRequest,
) -> Pin<Box<dyn Future<Output = Result<ActionResponse>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn calibrate_actuator<'life0, 'async_trait>(
&'life0 self,
request: CalibrateActuatorRequest,
) -> Pin<Box<dyn Future<Output = Result<Operation>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_actuators_state<'life0, 'async_trait>(
&'life0 self,
_actuator_ids: Vec<u32>,
) -> Pin<Box<dyn Future<Output = Result<Vec<ActuatorStateResponse>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for StubActuator
impl !RefUnwindSafe for StubActuator
impl Send for StubActuator
impl Sync for StubActuator
impl Unpin for StubActuator
impl !UnwindSafe for StubActuator
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request