pub trait MBeanClientTrait {
// Required methods
fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T>
where S1: Into<String>,
S2: Into<String>,
T: DeserializeOwned;
fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo>
where S: Into<String>;
fn query_names<S1, S2>(&self, name: S1, query: S2) -> Result<Vec<String>>
where S1: Into<String>,
S2: Into<String>;
}Expand description
Trait definition for all MBean clients.
Required Methods§
Sourcefn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T>
fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T>
Get the value of a specific MBean attribute.
Sourcefn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo>
fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo>
Get information about an MBean.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.