Struct chirpstack_api::nc::network_controller_service_client::NetworkControllerServiceClient[][src]

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

NetworkControllerService is the server to be implemeted by the network-controller.

Implementations

impl NetworkControllerServiceClient<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> NetworkControllerServiceClient<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]

HandleUplinkMetaData handles uplink meta-rata.

HandleDownlinkMetaData handles downlink meta-data.

HandleUplinkMACCommand handles an uplink mac-command. This method will only be called in case the mac-command request was enqueued throught the API or when the CID is >= 0x80 (proprietary mac-command range).

HandleRejectedUplinkFrameSet handles a rejected uplink. And uplink can be rejected in the case the device has not (yet) been provisioned, because of invalid frame-counter, MIC, …

Trait Implementations

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

Auto Trait Implementations

impl<T> !RefUnwindSafe for NetworkControllerServiceClient<T>

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

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

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

impl<T> !UnwindSafe for NetworkControllerServiceClient<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]