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,
[src]
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,
[src]pub fn new(inner: T) -> Self
[src]
pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self
[src]
pub async fn create(
&mut self,
request: impl IntoRequest<CreateMulticastGroupRequest>
) -> Result<Response<CreateMulticastGroupResponse>, Status>
[src]
pub async fn create(
&mut self,
request: impl IntoRequest<CreateMulticastGroupRequest>
) -> Result<Response<CreateMulticastGroupResponse>, Status>
[src]Create creates the given multicast-group.
pub async fn get(
&mut self,
request: impl IntoRequest<GetMulticastGroupRequest>
) -> Result<Response<GetMulticastGroupResponse>, Status>
[src]
pub async fn get(
&mut self,
request: impl IntoRequest<GetMulticastGroupRequest>
) -> Result<Response<GetMulticastGroupResponse>, Status>
[src]Get returns a multicast-group given an ID.
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]
pub async fn update(
&mut self,
request: impl IntoRequest<UpdateMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]Update updates the given multicast-group.
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]
pub async fn delete(
&mut self,
request: impl IntoRequest<DeleteMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]Delete deletes a multicast-group given an ID.
pub async fn list(
&mut self,
request: impl IntoRequest<ListMulticastGroupRequest>
) -> Result<Response<ListMulticastGroupResponse>, Status>
[src]
pub async fn list(
&mut self,
request: impl IntoRequest<ListMulticastGroupRequest>
) -> Result<Response<ListMulticastGroupResponse>, Status>
[src]List lists the available multicast-groups.
pub async fn add_device(
&mut self,
request: impl IntoRequest<AddDeviceToMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]
pub async fn add_device(
&mut self,
request: impl IntoRequest<AddDeviceToMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]AddDevice adds the given device to the multicast-group.
pub async fn remove_device(
&mut self,
request: impl IntoRequest<RemoveDeviceFromMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]
pub async fn remove_device(
&mut self,
request: impl IntoRequest<RemoveDeviceFromMulticastGroupRequest>
) -> Result<Response<()>, Status>
[src]RemoveDevice removes the given device from the multicast-group.
pub async fn enqueue(
&mut self,
request: impl IntoRequest<EnqueueMulticastQueueItemRequest>
) -> Result<Response<EnqueueMulticastQueueItemResponse>, Status>
[src]
pub async fn enqueue(
&mut self,
request: impl IntoRequest<EnqueueMulticastQueueItemRequest>
) -> Result<Response<EnqueueMulticastQueueItemResponse>, Status>
[src]Enqueue adds the given item to the multicast-queue.
pub async fn flush_queue(
&mut self,
request: impl IntoRequest<FlushMulticastGroupQueueItemsRequest>
) -> Result<Response<()>, Status>
[src]
pub async fn flush_queue(
&mut self,
request: impl IntoRequest<FlushMulticastGroupQueueItemsRequest>
) -> Result<Response<()>, Status>
[src]FlushQueue flushes the multicast-group queue.
pub async fn list_queue(
&mut self,
request: impl IntoRequest<ListMulticastGroupQueueItemsRequest>
) -> Result<Response<ListMulticastGroupQueueItemsResponse>, Status>
[src]
pub async fn list_queue(
&mut self,
request: impl IntoRequest<ListMulticastGroupQueueItemsRequest>
) -> Result<Response<ListMulticastGroupQueueItemsResponse>, Status>
[src]ListQueue lists the items in the multicast-group queue.
Trait Implementations
impl<T: Clone> Clone for MulticastGroupServiceClient<T>
[src]
impl<T: Clone> Clone for MulticastGroupServiceClient<T>
[src]Auto Trait Implementations
impl<T> !RefUnwindSafe for MulticastGroupServiceClient<T>
impl<T> Send for MulticastGroupServiceClient<T> where
T: Send,
T: Send,
impl<T> Sync for MulticastGroupServiceClient<T> where
T: Sync,
T: Sync,
impl<T> Unpin for MulticastGroupServiceClient<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for MulticastGroupServiceClient<T>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
pub fn into_request(self) -> Request<T>
[src]Wrap the input message T
in a tonic::Request
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
fn with_current_subscriber(self) -> WithDispatch<Self>
[src]Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more