fn canonicalize_filter(
    filter: &BluetoothLEScanFilterInit
) -> Result<BluetoothScanfilter, Error>