pub struct GraphServiceImpl { /* private fields */ }Implementations§
Trait Implementations§
Source§impl GraphService for GraphServiceImpl
impl GraphService for GraphServiceImpl
Source§type WatchGraphStream = Pin<Box<dyn Stream<Item = Result<GraphEvent, Status>> + Send>>
type WatchGraphStream = Pin<Box<dyn Stream<Item = Result<GraphEvent, Status>> + Send>>
Server streaming response type for the WatchGraph method.
fn get_graph<'life0, 'async_trait>(
&'life0 self,
_req: Request<GetGraphRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetGraphResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_node<'life0, 'async_trait>(
&'life0 self,
req: Request<GetNodeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetNodeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn search_nodes<'life0, 'async_trait>(
&'life0 self,
req: Request<SearchNodesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SearchNodesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shortest_path<'life0, 'async_trait>(
&'life0 self,
req: Request<ShortestPathRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShortestPathResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn watch_graph<'life0, 'async_trait>(
&'life0 self,
_req: Request<WatchGraphRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::WatchGraphStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for GraphServiceImpl
impl !UnwindSafe for GraphServiceImpl
impl Freeze for GraphServiceImpl
impl Send for GraphServiceImpl
impl Sync for GraphServiceImpl
impl Unpin for GraphServiceImpl
impl UnsafeUnpin for GraphServiceImpl
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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