[][src]Enum jmx::MBeanAddress

pub enum MBeanAddress {
    Address(String),
    ServiceUrl(String),
}

Address of a remote JMX server.

Variants

Address(String)
ServiceUrl(String)

Implementations

impl MBeanAddress[src]

pub fn address<S>(address: S) -> MBeanAddress where
    S: Into<String>, 
[src]

Connected to the remote "host:port" JMX server.

This method connects to a remote server using the RMI protocol and the default RMI path "/jndi/rmi://{host}:{port}/jmxrmi".

pub fn for_java(self, jvm: &Jvm) -> Result<Instance>[src]

Create a Java javax.management.remote.JMXServiceURL instance.

pub fn service_url<S>(service_url: S) -> MBeanAddress where
    S: Into<String>, 
[src]

Connected to the remote JMX server by ServiceUrl.

Trait Implementations

impl Clone for MBeanAddress[src]

impl Debug for MBeanAddress[src]

impl<'de> Deserialize<'de> for MBeanAddress[src]

impl Eq for MBeanAddress[src]

impl Hash for MBeanAddress[src]

impl Ord for MBeanAddress[src]

impl PartialEq<MBeanAddress> for MBeanAddress[src]

impl PartialOrd<MBeanAddress> for MBeanAddress[src]

impl Serialize for MBeanAddress[src]

impl StructuralEq for MBeanAddress[src]

impl StructuralPartialEq for MBeanAddress[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.