[][src]Struct servant::ServantRegister

pub struct 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]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.