Home
last modified time | relevance | path

Searched refs:ToBoxedSerializeDataElement (Results 1 – 3 of 3) sorted by relevance

/external/rust/beto-rust/nearby/presence/np_adv_dynamic/src/
Dlegacy.rs74 data_element: ToBoxedSerializeDataElement, in add_data_element() argument
178 pub enum ToBoxedSerializeDataElement { enum
188 impl ToBoxedSerializeDataElement { impl
193 ToBoxedSerializeDataElement::Plaintext(x) => Some(x.as_ref().into()), in to_plaintext()
194 ToBoxedSerializeDataElement::Ciphertext(_) => None, in to_plaintext()
195 ToBoxedSerializeDataElement::Both(x) => Some(x.as_ref().to_plaintext()), in to_plaintext()
202 ToBoxedSerializeDataElement::Plaintext(_) => None, in to_ciphertext()
203 ToBoxedSerializeDataElement::Ciphertext(x) => Some(x.as_ref().into()), in to_ciphertext()
204 ToBoxedSerializeDataElement::Both(x) => Some(x.as_ref().to_ciphertext()), in to_ciphertext()
229 impl From<TxPower> for ToBoxedSerializeDataElement { implementation
[all …]
/external/rust/beto-rust/nearby/presence/np_ffi_core/src/
Dv0.rs49 impl TryFrom<V0DataElement> for np_adv_dynamic::legacy::ToBoxedSerializeDataElement { implementation
149 impl TryFrom<TxPower> for np_adv_dynamic::legacy::ToBoxedSerializeDataElement { implementation
168 impl TryFrom<V0Actions> for np_adv_dynamic::legacy::ToBoxedSerializeDataElement { implementation
/external/rust/beto-rust/nearby/presence/np_ffi_core/src/serialize/
Dv0.rs203 let to_boxed = np_adv_dynamic::legacy::ToBoxedSerializeDataElement::try_from(de)?; in add_de()