Struct chirpstack_api::as_pb::external::api::gateway_profile_service_client::GatewayProfileServiceClient [−][src]
pub struct GatewayProfileServiceClient<T> { /* fields omitted */ }
Expand description
GatewayProfileService is the service managing the gateway-profiles.
Implementations
impl<T> GatewayProfileServiceClient<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> GatewayProfileServiceClient<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<CreateGatewayProfileRequest>
) -> Result<Response<CreateGatewayProfileResponse>, Status>
pub async fn create(
&mut self,
request: impl IntoRequest<CreateGatewayProfileRequest>
) -> Result<Response<CreateGatewayProfileResponse>, Status>
Create creates the given gateway-profile.
pub async fn get(
&mut self,
request: impl IntoRequest<GetGatewayProfileRequest>
) -> Result<Response<GetGatewayProfileResponse>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetGatewayProfileRequest>
) -> Result<Response<GetGatewayProfileResponse>, Status>
Get returns the gateway-profile matching the given id.
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateGatewayProfileRequest>
) -> Result<Response<()>, Status>
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateGatewayProfileRequest>
) -> Result<Response<()>, Status>
Update updates the given gateway-profile.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteGatewayProfileRequest>
) -> Result<Response<()>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteGatewayProfileRequest>
) -> Result<Response<()>, Status>
Delete deletes the gateway-profile matching the given id.
pub async fn list(
&mut self,
request: impl IntoRequest<ListGatewayProfilesRequest>
) -> Result<Response<ListGatewayProfilesResponse>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListGatewayProfilesRequest>
) -> Result<Response<ListGatewayProfilesResponse>, Status>
List returns the existing gateway-profiles.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for GatewayProfileServiceClient<T>
impl<T> Send for GatewayProfileServiceClient<T> where
T: Send,
impl<T> Sync for GatewayProfileServiceClient<T> where
T: Sync,
impl<T> Unpin for GatewayProfileServiceClient<T> where
T: Unpin,
impl<T> !UnwindSafe for GatewayProfileServiceClient<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