Struct chirpstack_api::as_pb::external::api::network_server_service_client::NetworkServerServiceClient [−][src]
pub struct NetworkServerServiceClient<T> { /* fields omitted */ }
Expand description
NetworkServerService is the service managing network-servers.
Implementations
impl<T> NetworkServerServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
impl<T> NetworkServerServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
pub async fn create(
&mut self,
request: impl IntoRequest<CreateNetworkServerRequest>
) -> Result<Response<CreateNetworkServerResponse>, Status>
pub async fn create(
&mut self,
request: impl IntoRequest<CreateNetworkServerRequest>
) -> Result<Response<CreateNetworkServerResponse>, Status>
Create creates the given network-server.
pub async fn get(
&mut self,
request: impl IntoRequest<GetNetworkServerRequest>
) -> Result<Response<GetNetworkServerResponse>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetNetworkServerRequest>
) -> Result<Response<GetNetworkServerResponse>, Status>
Get returns the network-server matching the given id.
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateNetworkServerRequest>
) -> Result<Response<()>, Status>
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateNetworkServerRequest>
) -> Result<Response<()>, Status>
Update updates the given network-server.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteNetworkServerRequest>
) -> Result<Response<()>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteNetworkServerRequest>
) -> Result<Response<()>, Status>
Delete deletes the network-server matching the given id.
pub async fn list(
&mut self,
request: impl IntoRequest<ListNetworkServerRequest>
) -> Result<Response<ListNetworkServerResponse>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListNetworkServerRequest>
) -> Result<Response<ListNetworkServerResponse>, Status>
List lists the available network-servers.
pub async fn get_adr_algorithms(
&mut self,
request: impl IntoRequest<GetAdrAlgorithmsRequest>
) -> Result<Response<GetAdrAlgorithmsResponse>, Status>
pub async fn get_adr_algorithms(
&mut self,
request: impl IntoRequest<GetAdrAlgorithmsRequest>
) -> Result<Response<GetAdrAlgorithmsResponse>, Status>
GetADRAlgorithms returns the available ADR algorithms.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for NetworkServerServiceClient<T>
impl<T> Send for NetworkServerServiceClient<T> where
T: Send,
impl<T> Sync for NetworkServerServiceClient<T> where
T: Sync,
impl<T> Unpin for NetworkServerServiceClient<T> where
T: Unpin,
impl<T> !UnwindSafe for NetworkServerServiceClient<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more