[−][src]Struct nebula_graph_fbthrift_graph_v2::server::GraphServiceProcessor
Implementations
impl<P, H, R> GraphServiceProcessor<P, H, R> where
P: Protocol + Send + Sync + 'static,
P::Deserializer: Send,
H: GraphService,
[src]
P: Protocol + Send + Sync + 'static,
P::Deserializer: Send,
H: GraphService,
pub fn new(service: H) -> Self
[src]
pub fn into_inner(self) -> H
[src]
Trait Implementations
impl<P: Clone, H: Clone, R: Clone> Clone for GraphServiceProcessor<P, H, R>
[src]
fn clone(&self) -> GraphServiceProcessor<P, H, R>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<P: Debug, H: Debug, R: Debug> Debug for GraphServiceProcessor<P, H, R>
[src]
impl<P, H, R> ServiceProcessor<P> for GraphServiceProcessor<P, H, R> where
P: Protocol + Send + Sync + 'static,
P::Deserializer: Send,
H: GraphService,
R: Send + Sync + 'static,
[src]
P: Protocol + Send + Sync + 'static,
P::Deserializer: Send,
H: GraphService,
R: Send + Sync + 'static,
type RequestContext = R
fn method_idx(&self, name: &[u8]) -> Result<usize, ApplicationException>
[src]
fn handle_method<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
idx: usize,
_p: &'life1 mut P::Deserializer,
_r: &'life2 R,
_seqid: u32
) -> Pin<Box<dyn Future<Output = Result<ProtocolEncodedFinal<P>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
idx: usize,
_p: &'life1 mut P::Deserializer,
_r: &'life2 R,
_seqid: u32
) -> Pin<Box<dyn Future<Output = Result<ProtocolEncodedFinal<P>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
impl<P, H, R> ThriftService<<P as Protocol>::Frame> for GraphServiceProcessor<P, H, R> where
P: Protocol + Send + Sync + 'static,
P::Deserializer: Send,
P::Frame: Send + 'static,
H: GraphService,
R: Send + Sync + 'static,
[src]
P: Protocol + Send + Sync + 'static,
P::Deserializer: Send,
P::Frame: Send + 'static,
H: GraphService,
R: Send + Sync + 'static,
type Handler = H
type RequestContext = R
fn call<'life0, 'life1, 'async_trait>(
&'life0 self,
req: ProtocolDecoded<P>,
req_ctxt: &'life1 R
) -> Pin<Box<dyn Future<Output = Result<ProtocolEncodedFinal<P>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
req: ProtocolDecoded<P>,
req_ctxt: &'life1 R
) -> Pin<Box<dyn Future<Output = Result<ProtocolEncodedFinal<P>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl<P, H, R> RefUnwindSafe for GraphServiceProcessor<P, H, R> where
H: RefUnwindSafe,
P: RefUnwindSafe,
R: RefUnwindSafe,
H: RefUnwindSafe,
P: RefUnwindSafe,
R: RefUnwindSafe,
impl<P, H, R> Send for GraphServiceProcessor<P, H, R> where
H: Send,
P: Send,
R: Send,
H: Send,
P: Send,
R: Send,
impl<P, H, R> Sync for GraphServiceProcessor<P, H, R> where
H: Sync,
P: Sync,
R: Sync,
H: Sync,
P: Sync,
R: Sync,
impl<P, H, R> Unpin for GraphServiceProcessor<P, H, R> where
H: Unpin,
P: Unpin,
R: Unpin,
H: Unpin,
P: Unpin,
R: Unpin,
impl<P, H, R> UnwindSafe for GraphServiceProcessor<P, H, R> where
H: UnwindSafe,
P: UnwindSafe,
R: UnwindSafe,
H: UnwindSafe,
P: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,