pub struct TripleProtocol { /* private fields */ }Implementations§
Source§impl TripleProtocol
impl TripleProtocol
pub fn new() -> Self
pub fn get_server(&self, url: Url) -> Option<TripleServer>
Trait Implementations§
Source§impl Clone for TripleProtocol
impl Clone for TripleProtocol
Source§fn clone(&self) -> TripleProtocol
fn clone(&self) -> TripleProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TripleProtocol
impl Default for TripleProtocol
Source§impl Protocol for TripleProtocol
impl Protocol for TripleProtocol
type Invoker = TripleInvoker
type Exporter = TripleExporter
fn destroy(&self)
fn export<'async_trait>(
self,
url: Url,
) -> Pin<Box<dyn Future<Output = Self::Exporter> + Send + 'async_trait>>where
Self: 'async_trait,
fn refer<'async_trait>(
self,
url: Url,
) -> Pin<Box<dyn Future<Output = Self::Invoker> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for TripleProtocol
impl !RefUnwindSafe for TripleProtocol
impl Send for TripleProtocol
impl !Sync for TripleProtocol
impl Unpin for TripleProtocol
impl !UnwindSafe for TripleProtocol
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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