[−][src]Struct servant::ServantRegister
Methods
impl ServantRegister
[src]
pub fn instance() -> &'static Self
[src]
pub fn set_query_servant(&self, query: Arc<Mutex<dyn Servant + Send>>)
[src]
pub fn query_servant(&self) -> Option<Arc<Mutex<dyn Servant + Send>>>
[src]
pub fn find_servant(&self, oid: &Oid) -> Option<Arc<Mutex<dyn Servant + Send>>>
[src]
pub fn find_report_servant(
&self,
oid: &Oid
) -> Option<Arc<Mutex<dyn ReportServant + Send>>>
[src]
&self,
oid: &Oid
) -> Option<Arc<Mutex<dyn ReportServant + Send>>>
pub fn add_servant(&self, obj: Arc<Mutex<dyn Servant + Send>>)
[src]
pub fn add_report_servant(&self, entry: Arc<Mutex<dyn ReportServant + Send>>)
[src]
pub fn export_servants(&self) -> Vec<Oid>
[src]
pub fn export_report_servants(&self) -> Vec<Oid>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServantRegister
impl Send for ServantRegister
impl Sync for ServantRegister
impl Unpin for ServantRegister
impl UnwindSafe for ServantRegister
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, 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>,