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