pub struct SdpRecord {
pub handle: u32,
pub service_class_uuid: u16,
pub protocol_list: Vec<u16>,
pub profile_list: Vec<(u16, u16)>,
pub service_name: String,
pub attributes: BTreeMap<u16, SdpAttribute>,
}Expand description
An SDP service record containing service attributes
Fields§
§handle: u32Service record handle (unique within the database)
service_class_uuid: u16Primary service class UUID (16-bit short form)
protocol_list: Vec<u16>Protocol descriptor list (list of protocol UUIDs + parameters)
profile_list: Vec<(u16, u16)>Profile descriptor list (profile UUID + version pairs)
service_name: StringHuman-readable service name
attributes: BTreeMap<u16, SdpAttribute>Additional attributes indexed by attribute ID
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SdpRecord
impl RefUnwindSafe for SdpRecord
impl Send for SdpRecord
impl Sync for SdpRecord
impl Unpin for SdpRecord
impl UnwindSafe for SdpRecord
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)