pub struct PrimitiveLidarLidar3d;Expand description
Typed communication for robonix/primitive/lidar/lidar3d.
Trait Implementations§
Source§impl ChannelContract for PrimitiveLidarLidar3d
impl ChannelContract for PrimitiveLidarLidar3d
const TRANSPORT: Transport = robonix_atlas::pb::Transport::Grpc
Source§const ID: &'static str = "robonix/primitive/lidar/lidar3d"
const ID: &'static str = "robonix/primitive/lidar/lidar3d"
Contract ID fixed by the binding; empty when selected at connection time.
const MODE: &'static str = "topic_out"
const SERVICE: &'static str = "robonix.contracts.RobonixPrimitiveLidarLidar3d"
const METHOD: &'static str = "Lidar3d"
const IDL: &'static str = "sensor_msgs/msg/PointCloud2"
type Input = ()
type Output = Pin<Box<dyn Stream<Item = Result<PointCloud2, Error>> + Send>>
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 PrimitiveLidarLidar3d
impl RefUnwindSafe for PrimitiveLidarLidar3d
impl Send for PrimitiveLidarLidar3d
impl Sync for PrimitiveLidarLidar3d
impl Unpin for PrimitiveLidarLidar3d
impl UnsafeUnpin for PrimitiveLidarLidar3d
impl UnwindSafe for PrimitiveLidarLidar3d
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> ⓘ
§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].