/// Creates a new Plug instance from the given local address.
///
/// # Examples
///
/// ```no_run
/// let plug = tplink::Plug::new([192, 168, 1, 100]);
/// ```
Creates a new Plug instance from the given local address.
Creates a new Plug instance from the given local address .
pub fn new<A>(host: A) -> Plug<HS100>
    where
        A: Into<IpAddr>,
    {
        Plug {
            device: HS100::new(host),
        }
    }
pub fn new < A > ( host : A ) -> Plug < HS100 > where A : Into < IpAddr > , { Plug { device : HS100 :: new ( host ) , } }
Creates a new Plug instance from the given local address.
Creates a new Plug instance from the given local address .
host
A
examples
None