pub struct FlareControlService { /* private fields */ }Implementations§
Source§impl FlareControlService
impl FlareControlService
pub fn new(metadata_manager: Arc<dyn MetadataManager>) -> Self
Trait Implementations§
Source§impl FlareControl for FlareControlService
impl FlareControl for FlareControlService
fn join<'life0, 'async_trait>(
&'life0 self,
request: Request<JoinRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<JoinResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn leave<'life0, 'async_trait>(
&'life0 self,
request: Request<LeaveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<LeaveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_topology<'life0, 'async_trait>(
&'life0 self,
_request: Request<ClusterTopologyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ClusterTopologyInfo>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_metadata<'life0, 'async_trait>(
&'life0 self,
_req: Request<ClusterMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ClusterMetadata>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for FlareControlService
impl !RefUnwindSafe for FlareControlService
impl Send for FlareControlService
impl Sync for FlareControlService
impl Unpin for FlareControlService
impl !UnwindSafe for FlareControlService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request