[−][src]Struct jmx::MBeanClient
Interface to a remote MBean server.
Wrapper around the following Java classes:
- javax.management.remote.JMXServiceURL
- javax.management.remote.JMXConnectorFactory
- javax.management.MBeanServerConnection
Implementations
impl MBeanClient
[src]
pub fn connect(address: MBeanAddress) -> Result<MBeanClient>
[src]
Create an MBeanClient
instance connected to the given address.
pub fn connect_with_options(
address: MBeanAddress,
options: MBeanClientOptions
) -> Result<MBeanClient>
[src]
address: MBeanAddress,
options: MBeanClientOptions
) -> Result<MBeanClient>
Create an MBeanClient
instance connected to the given address and options.
Trait Implementations
impl MBeanClientTrait for MBeanClient
[src]
fn get_attribute<S1, S2, T>(&self, mbean: S1, attribute: S2) -> Result<T> where
S1: Into<String>,
S2: Into<String>,
T: DeserializeOwned,
[src]
S1: Into<String>,
S2: Into<String>,
T: DeserializeOwned,
fn get_mbean_info<S>(&self, mbean: S) -> Result<MBeanInfo> where
S: Into<String>,
[src]
S: Into<String>,
fn query_names<S1, S2>(&self, name: S1, query: S2) -> Result<Vec<String>> where
S1: Into<String>,
S2: Into<String>,
[src]
S1: Into<String>,
S2: Into<String>,
Auto Trait Implementations
impl RefUnwindSafe for MBeanClient
impl !Send for MBeanClient
impl !Sync for MBeanClient
impl Unpin for MBeanClient
impl UnwindSafe for MBeanClient
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>,