pub fn new(
        transport: &mut Transport,
        address: u16,
        fun: CoilDropFunction,
    ) -> Result<ScopedCoil> {
        Ok(ScopedCoil {
            address,
            fun,
            transport,
        })
    }
/// Create a new `ScopedCoil` object with `address` and drop function when the object goes
/// out of scope.
Create a new `ScopedCoil` object with `address` and drop function when the object goes
out of scope.
Create a new ` ScopedCoil ` object with ` address ` and drop function when the object goes out of scope .
pub fn new(
        transport: &mut Transport,
        address: u16,
        fun: CoilDropFunction,
    ) -> Result<ScopedCoil> {
        Ok(ScopedCoil {
            address,
            fun,
            transport,
        })
    }
pub fn new ( transport : & mut Transport , address : u16 , fun : CoilDropFunction , ) -> Result < ScopedCoil > { Ok ( ScopedCoil { address , fun , transport , } ) }
Create a new `ScopedCoil` object with `address` and drop function when the object goes
out of scope.
Create a new ` ScopedCoil ` object with ` address ` and drop function when the object goes out of scope .
transport
&mut Transport
address
u16
fun
CoilDropFunction
transport
&mut Transport
address
u16
fun
CoilDropFunction