pub struct MemoryRegistry { /* private fields */ }Implementations§
Source§impl MemoryRegistry
impl MemoryRegistry
pub fn new() -> MemoryRegistry
Trait Implementations§
Source§impl Debug for MemoryRegistry
impl Debug for MemoryRegistry
Source§impl Default for MemoryRegistry
impl Default for MemoryRegistry
Source§fn default() -> MemoryRegistry
fn default() -> MemoryRegistry
Returns the “default value” for a type. Read more
Source§impl 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 !Freeze for MemoryRegistry
impl RefUnwindSafe for MemoryRegistry
impl Send for MemoryRegistry
impl Sync for MemoryRegistry
impl Unpin for MemoryRegistry
impl UnwindSafe for MemoryRegistry
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