Struct chirpstack_api::as_pb::external::api::multicast_group_service_client::MulticastGroupServiceClient [−][src]
pub struct MulticastGroupServiceClient<T> { /* fields omitted */ }
Expand description
MulticastGroupService is the service managing multicast-groups.
Implementations
impl<T> MulticastGroupServiceClient<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> MulticastGroupServiceClient<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<CreateMulticastGroupRequest>
) -> Result<Response<CreateMulticastGroupResponse>, Status>
pub async fn create(
&mut self,
request: impl IntoRequest<CreateMulticastGroupRequest>
) -> Result<Response<CreateMulticastGroupResponse>, Status>
Create creates the given multicast-group.
pub async fn get(
&mut self,
request: impl IntoRequest<GetMulticastGroupRequest>
) -> Result<Response<GetMulticastGroupResponse>, Status>
pub async fn get(
&mut self,
request: impl IntoRequest<GetMulticastGroupRequest>
) -> Result<Response<GetMulticastGroupResponse>, Status>
Get returns a multicast-group given an ID.
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateMulticastGroupRequest>
) -> Result<Response<()>, Status>
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateMulticastGroupRequest>
) -> Result<Response<()>, Status>
Update updates the given multicast-group.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteMulticastGroupRequest>
) -> Result<Response<()>, Status>
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteMulticastGroupRequest>
) -> Result<Response<()>, Status>
Delete deletes a multicast-group given an ID.
pub async fn list(
&mut self,
request: impl IntoRequest<ListMulticastGroupRequest>
) -> Result<Response<ListMulticastGroupResponse>, Status>
pub async fn list(
&mut self,
request: impl IntoRequest<ListMulticastGroupRequest>
) -> Result<Response<ListMulticastGroupResponse>, Status>
List lists the available multicast-groups.
pub async fn add_device(
&mut self,
request: impl IntoRequest<AddDeviceToMulticastGroupRequest>
) -> Result<Response<()>, Status>
pub async fn add_device(
&mut self,
request: impl IntoRequest<AddDeviceToMulticastGroupRequest>
) -> Result<Response<()>, Status>
AddDevice adds the given device to the multicast-group.
pub async fn remove_device(
&mut self,
request: impl IntoRequest<RemoveDeviceFromMulticastGroupRequest>
) -> Result<Response<()>, Status>
pub async fn remove_device(
&mut self,
request: impl IntoRequest<RemoveDeviceFromMulticastGroupRequest>
) -> Result<Response<()>, Status>
RemoveDevice removes the given device from the multicast-group.
pub async fn enqueue(
&mut self,
request: impl IntoRequest<EnqueueMulticastQueueItemRequest>
) -> Result<Response<EnqueueMulticastQueueItemResponse>, Status>
pub async fn enqueue(
&mut self,
request: impl IntoRequest<EnqueueMulticastQueueItemRequest>
) -> Result<Response<EnqueueMulticastQueueItemResponse>, Status>
Enqueue adds the given item to the multicast-queue.
pub async fn flush_queue(
&mut self,
request: impl IntoRequest<FlushMulticastGroupQueueItemsRequest>
) -> Result<Response<()>, Status>
pub async fn flush_queue(
&mut self,
request: impl IntoRequest<FlushMulticastGroupQueueItemsRequest>
) -> Result<Response<()>, Status>
FlushQueue flushes the multicast-group queue.
pub async fn list_queue(
&mut self,
request: impl IntoRequest<ListMulticastGroupQueueItemsRequest>
) -> Result<Response<ListMulticastGroupQueueItemsResponse>, Status>
pub async fn list_queue(
&mut self,
request: impl IntoRequest<ListMulticastGroupQueueItemsRequest>
) -> Result<Response<ListMulticastGroupQueueItemsResponse>, Status>
ListQueue lists the items in the multicast-group queue.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for MulticastGroupServiceClient<T>
impl<T> Send for MulticastGroupServiceClient<T> where
T: Send,
impl<T> Sync for MulticastGroupServiceClient<T> where
T: Sync,
impl<T> Unpin for MulticastGroupServiceClient<T> where
T: Unpin,
impl<T> !UnwindSafe for MulticastGroupServiceClient<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