[][src]Struct chirpstack_api::as_pb::application_server_service_client::ApplicationServerServiceClient

pub struct ApplicationServerServiceClient<T> { /* fields omitted */ }

ApplicationServerService is the service providing the application-server interface.

Implementations

impl ApplicationServerServiceClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> ApplicationServerServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

HandleUplinkData handles uplink data received from an end-device.

HandleProprietaryUplink handles proprietary uplink payloads.

pub async fn handle_error<'_>(
    &'_ mut self,
    request: impl IntoRequest<HandleErrorRequest>
) -> Result<Response<()>, Status>
[src]

HandleError handles an error message.

HandleDownlinkACK handles a downlink ACK or nACK response.

pub async fn handle_gateway_stats<'_>(
    &'_ mut self,
    request: impl IntoRequest<HandleGatewayStatsRequest>
) -> Result<Response<()>, Status>
[src]

HandleGatewayStats handles the given gateway stats.

pub async fn handle_tx_ack<'_>(
    &'_ mut self,
    request: impl IntoRequest<HandleTxAckRequest>
) -> Result<Response<()>, Status>
[src]

HandleTXACK handles the TX acknowledgement.

pub async fn set_device_status<'_>(
    &'_ mut self,
    request: impl IntoRequest<SetDeviceStatusRequest>
) -> Result<Response<()>, Status>
[src]

SetDeviceStatus updates the device-status for a device.

pub async fn set_device_location<'_>(
    &'_ mut self,
    request: impl IntoRequest<SetDeviceLocationRequest>
) -> Result<Response<()>, Status>
[src]

SetDeviceLocation updates the device-location for a device.

Trait Implementations

impl<T: Clone> Clone for ApplicationServerServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for ApplicationServerServiceClient<T>

impl<T> Send for ApplicationServerServiceClient<T> where
    T: Send

impl<T> Sync for ApplicationServerServiceClient<T> where
    T: Sync

impl<T> Unpin for ApplicationServerServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for ApplicationServerServiceClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]