[][src]Function hap::accessory::lock::new

pub fn new(information: Information) -> Result<Lock, Error>

Creates a new Lock Accessory.