pub struct SdpServiceRecord {
pub handle: u32,
pub service_class_uuid: u16,
pub protocol_channel: u16,
pub valid: bool,
}Expand description
SDP service record (stub)
Fields§
§handle: u32Service record handle
service_class_uuid: u16Primary service class UUID (16-bit)
protocol_channel: u16Protocol descriptor (L2CAP PSM or RFCOMM channel)
valid: boolWhether this record is valid
Implementations§
Trait Implementations§
Source§impl Clone for SdpServiceRecord
impl Clone for SdpServiceRecord
Source§fn clone(&self) -> SdpServiceRecord
fn clone(&self) -> SdpServiceRecord
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SdpServiceRecord
impl Debug for SdpServiceRecord
impl Copy for SdpServiceRecord
Auto Trait Implementations§
impl Freeze for SdpServiceRecord
impl RefUnwindSafe for SdpServiceRecord
impl Send for SdpServiceRecord
impl Sync for SdpServiceRecord
impl Unpin for SdpServiceRecord
impl UnwindSafe for SdpServiceRecord
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)