Searched refs:to_dbus (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/ |
D | lib.rs | 230 ret = quote! {Ok((<#t as DBusArg>::to_dbus(ret).unwrap(),))}; in generate_dbus_exporter() 414 let #ident = <#arg_type as DBusArg>::to_dbus(#ident).unwrap(); in generate_dbus_interface_client() 673 let field_data__ = DBusArg::to_dbus(data__.#field_ident)?; in dbus_propmap() 717 … fn to_dbus(data__: #struct_ident) -> Result<dbus::arg::PropMap, Box<dyn std::error::Error>> { in dbus_propmap() 814 #method_args DBusArg::to_dbus(#ident).unwrap(), in dbus_proxy_obj() 989 … fn to_dbus(_data: Box<dyn #trait_ + Send>) -> Result<Path<'static>, Box<dyn std::error::Error>> { in dbus_proxy_obj() 1231 fn to_dbus(x: Self) -> Result<Self::DBusType, Box<dyn Error>>; in generate_dbus_arg() 1260 fn to_dbus(data: T) -> Result<T, Box<dyn Error>> { in generate_dbus_arg() 1284 fn to_dbus(data: std::fs::File) -> Result<std::fs::File, Box<dyn Error>> { in generate_dbus_arg() 1315 fn to_dbus(data: Vec<T>) -> Result<Vec<T::DBusType>, Box<dyn Error>> { in generate_dbus_arg() [all …]
|
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/src/ |
D | lib.rs | 277 fn to_dbus(data: $enum_type) -> Result<u32, Box<dyn std::error::Error>> { 312 fn to_dbus(data: $rust_type) -> Result<$dbus_type, Box<dyn std::error::Error>> {
|
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/ |
D | iface_bluetooth.rs | 61 fn to_dbus(data: Uuid) -> Result<Vec<u8>, Box<dyn std::error::Error>> { in to_dbus() method 340 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 397 fn to_dbus(record: BtSdpRecord) -> Result<dbus::arg::PropMap, Box<dyn std::error::Error>> { in to_dbus() method 459 fn to_dbus(addr: RawAddress) -> Result<String, Box<dyn std::error::Error>> { in to_dbus() method
|
D | iface_bluetooth_gatt.rs | 445 fn to_dbus( in to_dbus() method 453 dbus::arg::Variant(Box::new(DBusArg::to_dbus(patterns)?)), in to_dbus()
|
D | iface_bluetooth_media.rs | 247 fn to_dbus( in to_dbus() method
|
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/ |
D | dbus_iface.rs | 252 propmap.insert(String::from(key), dbus::arg::Variant(Box::new(DBusArg::to_dbus(value)?))); in write_propmap_value() 309 fn to_dbus(record: BtSdpRecord) -> Result<dbus::arg::PropMap, Box<dyn std::error::Error>> { in to_dbus() method 372 fn to_dbus(addr: RawAddress) -> Result<String, Box<dyn std::error::Error>> { in to_dbus() method 519 fn to_dbus( in to_dbus() method 527 dbus::arg::Variant(Box::new(DBusArg::to_dbus(patterns)?)), in to_dbus()
|