pub fn enumerate_devices_with_port(port: u16) -> Result<Vec<MonomeDevice>, String> {
        Monome::enumerate_devices_with_host_and_port(
            std::net::IpAddr::V4(<Ipv4Addr>::LOCALHOST),
            port,
        )
    }
/// Enumerate all monome devices on localhost, on a specific port.
///
/// If successful, this returns a list of MonomeDevice, which contain basic informations about
/// the device: type, serial number, port allocated by serialosc.
///
/// # Arguments
///
/// * `port`: the port serialoscd is bound to.
///
/// # Example
///
/// Enumerate and display all monome device running on default port at a specific address.
///
/// ```no_run
/// # use monome::Monome;
/// # let enumeration = Monome::enumerate_devices_with_port(12012);
/// match enumeration {
///     Ok(devices) => {
///         for device in &devices {
///            println!("{}", device);
///         }
///     }
///     Err(e) => {
///         eprintln!("Error: {}", e);
///     }
/// }
/// ```
Enumerate all monome devices on localhost, on a specific port.
If successful, this returns a list of MonomeDevice, which contain basic informations about
the device: type, serial number, port allocated by serialosc.
Enumerate all monome devices on localhost on a specific port . If successful this returns a list of MonomeDevice which contain basic informations about the device : type serial number port allocated by serialosc .
pub fn enumerate_devices_with_port(port: u16) -> Result<Vec<MonomeDevice>, String> {
        Monome::enumerate_devices_with_host_and_port(
            std::net::IpAddr::V4(<Ipv4Addr>::LOCALHOST),
            port,
        )
    }
pub fn enumerate_devices_with_port ( port : u16 ) -> Result < Vec < MonomeDevice > , String > { Monome :: enumerate_devices_with_host_and_port ( std :: net :: IpAddr :: V4 ( < Ipv4Addr > :: LOCALHOST ) , port , ) }
Enumerate all monome devices on localhost, on a specific port.
Enumerate all monome devices on localhost on a specific port .
port
u16
port
u16
example
Enumerate and display all monome device running on default port at a specific address.


Enumerate and display all monome device running on default port at a specific address .
use monome::monome;
None
let enumeration = monome::enumerate_devices_with_port(12012);
match enumeration {
Ok(devices) => {
for device in &devices {
println!("{}", device);
}
}
Err(e) => {
eprintln!("Error: {}", e);
}
}
```
match enumeration { Ok ( devices ) = > { for device in &devices { println! ( " {} " device ) ; } } Err ( e ) = > { eprintln! ( " Error : {} " e ) ; } } ` ` `