pub struct PrimitiveHandSetJointSpeedLimits;Expand description
Typed communication for robonix/primitive/hand/set_joint_speed_limits.
Trait Implementations§
Source§impl ChannelContract for PrimitiveHandSetJointSpeedLimits
impl ChannelContract for PrimitiveHandSetJointSpeedLimits
const TRANSPORT: Transport = robonix_atlas::pb::Transport::Grpc
Source§const ID: &'static str = "robonix/primitive/hand/set_joint_speed_limits"
const ID: &'static str = "robonix/primitive/hand/set_joint_speed_limits"
Contract ID fixed by the binding; empty when selected at connection time.
const MODE: &'static str = "rpc"
const SERVICE: &'static str = "robonix.contracts.RobonixPrimitiveHandSetJointSpeedLimits"
const METHOD: &'static str = "SetJointSpeedLimits"
const IDL: &'static str = "hand/srv/SetJointSpeedLimits"
type Input = SetJointSpeedLimitsRequest
type Output = SetJointSpeedLimitsResponse
type StatusResponse = ()
type CancelResponse = ()
async fn invoke( channel: Channel<Self>, request: Self::Input, ) -> Result<Self::Output>
fn matches_contract(contract: &ContractDescriptor) -> bool
fn validate_companion( _contract: &ContractDescriptor, _status: bool, ) -> Result<(), Error>
fn validate_input(_request: &Self::Input) -> Result<(), Error>
fn execution(_response: &Self::Output) -> Result<(bool, String), Error>
fn status( _channel: Channel<Self>, ) -> impl Future<Output = Result<Self::StatusResponse, Error>> + Send
fn cancel( _channel: Channel<Self>, ) -> impl Future<Output = Result<Self::CancelResponse, Error>> + Send
fn status_state(_response: &Self::StatusResponse) -> Result<&str, Error>
Auto Trait Implementations§
impl Freeze for PrimitiveHandSetJointSpeedLimits
impl RefUnwindSafe for PrimitiveHandSetJointSpeedLimits
impl Send for PrimitiveHandSetJointSpeedLimits
impl Sync for PrimitiveHandSetJointSpeedLimits
impl Unpin for PrimitiveHandSetJointSpeedLimits
impl UnsafeUnpin for PrimitiveHandSetJointSpeedLimits
impl UnwindSafe for PrimitiveHandSetJointSpeedLimits
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].