Struct dubbo::registry::memory_registry::MemoryRegistry
source · [−]pub struct MemoryRegistry { /* private fields */ }
Implementations
sourceimpl MemoryRegistry
impl MemoryRegistry
pub fn new() -> MemoryRegistry
Trait Implementations
sourceimpl Debug for MemoryRegistry
impl Debug for MemoryRegistry
sourceimpl Default for MemoryRegistry
impl Default for MemoryRegistry
sourcefn default() -> MemoryRegistry
fn default() -> MemoryRegistry
Returns the “default value” for a type. Read more
sourceimpl Registry for MemoryRegistry
impl Registry for MemoryRegistry
type NotifyListener = MemoryNotifyListener
fn register(&mut self, url: Url) -> Result<(), StdError>
fn unregister(&mut self, url: Url) -> Result<(), StdError>
fn subscribe(
&self,
url: Url,
listener: Self::NotifyListener
) -> Result<(), StdError>
fn unsubscribe(
&self,
url: Url,
listener: Self::NotifyListener
) -> Result<(), StdError>
Auto Trait Implementations
impl RefUnwindSafe for MemoryRegistry
impl Send for MemoryRegistry
impl Sync for MemoryRegistry
impl Unpin for MemoryRegistry
impl UnwindSafe for MemoryRegistry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request