#[non_exhaustive]#[repr(u16)]pub enum ServiceClass {
Show 64 variants
ServiceDiscoveryServer = 4_096,
BrowseGroupDescriptor = 4_097,
SerialPort = 4_353,
LanAccessUsingPpp = 4_354,
DialupNetworking = 4_355,
IrMcSync = 4_356,
ObexObjectPush = 4_357,
ObexFileTransfer = 4_358,
IrMcSyncCommand = 4_359,
Headset = 4_360,
CordlessTelephony = 4_361,
AudioSource = 4_362,
AudioSink = 4_363,
AvRemoteControlTarget = 4_364,
AvRemoteControl = 4_366,
AvRemoteControlController = 4_367,
Intercom = 4_368,
Fax = 4_369,
HeadsetAudioGateway = 4_370,
Wap = 4_371,
WapClient = 4_372,
Panu = 4_373,
Nap = 4_374,
Gn = 4_375,
DirectPrinting = 4_376,
ReferencePrinting = 4_377,
ImagingResponder = 4_379,
ImagingAutomaticArchive = 4_380,
ImagingReferencedObjects = 4_381,
Handsfree = 4_382,
HandsfreeAudioGateway = 4_383,
DirectPrintingReferenceObjectsService = 4_384,
ReflectedUi = 4_385,
PrintingStatus = 4_387,
HumanInterfaceDeviceService = 4_388,
HcrPrint = 4_390,
HcrScan = 4_391,
CommonIsdnAccess = 4_392,
SimAccess = 4_397,
PhonebookAccessPce = 4_398,
PhonebookAccessPse = 4_399,
HeadsetHs = 4_401,
MessageAccessServer = 4_402,
MessageNotificationServer = 4_403,
GnssServer = 4_406,
ThreeDDisplay = 4_407,
ThreeDGlasses = 4_408,
MpsScUuid = 4_411,
CtnAccessService = 4_412,
CtnNotificationService = 4_413,
PnPInformation = 4_608,
GenericNetworking = 4_609,
GenericFileTransfer = 4_610,
GenericAudio = 4_611,
GenericTelephony = 4_612,
UpnpService = 4_613,
UpnpIpService = 4_614,
EsdpUpnpIpPan = 4_864,
EsdpUpnpIpLap = 4_865,
EsdpUpnpL2Cap = 4_866,
VideoSource = 4_867,
VideoSink = 4_868,
HdpSource = 5_121,
HdpSink = 5_122,
}Expand description
SDP service class identifiers ([Assigned Numbers] Section 3.3).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ServiceDiscoveryServer = 4_096
BrowseGroupDescriptor = 4_097
SerialPort = 4_353
LanAccessUsingPpp = 4_354
DialupNetworking = 4_355
IrMcSync = 4_356
ObexObjectPush = 4_357
ObexFileTransfer = 4_358
IrMcSyncCommand = 4_359
Headset = 4_360
CordlessTelephony = 4_361
AudioSource = 4_362
AudioSink = 4_363
AvRemoteControlTarget = 4_364
AvRemoteControl = 4_366
AvRemoteControlController = 4_367
Intercom = 4_368
Fax = 4_369
HeadsetAudioGateway = 4_370
Wap = 4_371
WapClient = 4_372
Panu = 4_373
Nap = 4_374
Gn = 4_375
DirectPrinting = 4_376
ReferencePrinting = 4_377
ImagingResponder = 4_379
ImagingAutomaticArchive = 4_380
ImagingReferencedObjects = 4_381
Handsfree = 4_382
HandsfreeAudioGateway = 4_383
DirectPrintingReferenceObjectsService = 4_384
ReflectedUi = 4_385
PrintingStatus = 4_387
HumanInterfaceDeviceService = 4_388
HcrPrint = 4_390
HcrScan = 4_391
CommonIsdnAccess = 4_392
SimAccess = 4_397
PhonebookAccessPce = 4_398
PhonebookAccessPse = 4_399
HeadsetHs = 4_401
MessageAccessServer = 4_402
MessageNotificationServer = 4_403
GnssServer = 4_406
ThreeDDisplay = 4_407
ThreeDGlasses = 4_408
MpsScUuid = 4_411
CtnAccessService = 4_412
CtnNotificationService = 4_413
PnPInformation = 4_608
GenericNetworking = 4_609
GenericFileTransfer = 4_610
GenericAudio = 4_611
GenericTelephony = 4_612
UpnpService = 4_613
UpnpIpService = 4_614
EsdpUpnpIpPan = 4_864
EsdpUpnpIpLap = 4_865
EsdpUpnpL2Cap = 4_866
VideoSource = 4_867
VideoSink = 4_868
HdpSource = 5_121
HdpSink = 5_122
Implementations§
Source§impl ServiceClass
impl ServiceClass
pub const SERVICE_DISCOVERY_SERVER: Uuid16
pub const BROWSE_GROUP_DESCRIPTOR: Uuid16
pub const SERIAL_PORT: Uuid16
pub const LAN_ACCESS_USING_PPP: Uuid16
pub const DIALUP_NETWORKING: Uuid16
pub const IR_MC_SYNC: Uuid16
pub const OBEX_OBJECT_PUSH: Uuid16
pub const OBEX_FILE_TRANSFER: Uuid16
pub const IR_MC_SYNC_COMMAND: Uuid16
pub const HEADSET: Uuid16
pub const CORDLESS_TELEPHONY: Uuid16
pub const AUDIO_SOURCE: Uuid16
pub const AUDIO_SINK: Uuid16
pub const AV_REMOTE_CONTROL_TARGET: Uuid16
pub const AV_REMOTE_CONTROL: Uuid16
pub const AV_REMOTE_CONTROL_CONTROLLER: Uuid16
pub const INTERCOM: Uuid16
pub const FAX: Uuid16
pub const HEADSET_AUDIO_GATEWAY: Uuid16
pub const WAP: Uuid16
pub const WAP_CLIENT: Uuid16
pub const PANU: Uuid16
pub const NAP: Uuid16
pub const GN: Uuid16
pub const DIRECT_PRINTING: Uuid16
pub const REFERENCE_PRINTING: Uuid16
pub const IMAGING_RESPONDER: Uuid16
pub const IMAGING_AUTOMATIC_ARCHIVE: Uuid16
pub const IMAGING_REFERENCED_OBJECTS: Uuid16
pub const HANDSFREE: Uuid16
pub const HANDSFREE_AUDIO_GATEWAY: Uuid16
pub const DIRECT_PRINTING_REFERENCE_OBJECTS_SERVICE: Uuid16
pub const REFLECTED_UI: Uuid16
pub const PRINTING_STATUS: Uuid16
pub const HUMAN_INTERFACE_DEVICE_SERVICE: Uuid16
pub const HCR_PRINT: Uuid16
pub const HCR_SCAN: Uuid16
pub const COMMON_ISDN_ACCESS: Uuid16
pub const SIM_ACCESS: Uuid16
pub const PHONEBOOK_ACCESS_PCE: Uuid16
pub const PHONEBOOK_ACCESS_PSE: Uuid16
pub const HEADSET_HS: Uuid16
pub const MESSAGE_ACCESS_SERVER: Uuid16
pub const MESSAGE_NOTIFICATION_SERVER: Uuid16
pub const GNSS_SERVER: Uuid16
pub const THREE_D_DISPLAY: Uuid16
pub const THREE_D_GLASSES: Uuid16
pub const MPS_SC_UUID: Uuid16
pub const CTN_ACCESS_SERVICE: Uuid16
pub const CTN_NOTIFICATION_SERVICE: Uuid16
pub const PN_P_INFORMATION: Uuid16
pub const GENERIC_NETWORKING: Uuid16
pub const GENERIC_FILE_TRANSFER: Uuid16
pub const GENERIC_AUDIO: Uuid16
pub const GENERIC_TELEPHONY: Uuid16
pub const UPNP_SERVICE: Uuid16
pub const UPNP_IP_SERVICE: Uuid16
pub const ESDP_UPNP_IP_PAN: Uuid16
pub const ESDP_UPNP_IP_LAP: Uuid16
pub const ESDP_UPNP_L2_CAP: Uuid16
pub const VIDEO_SOURCE: Uuid16
pub const VIDEO_SINK: Uuid16
pub const HDP_SOURCE: Uuid16
pub const HDP_SINK: Uuid16
Trait Implementations§
Source§impl Clone for ServiceClass
impl Clone for ServiceClass
Source§fn clone(&self) -> ServiceClass
fn clone(&self) -> ServiceClass
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceClass
impl Debug for ServiceClass
Source§impl Display for ServiceClass
impl Display for ServiceClass
Source§impl From<ServiceClass> for Uuid
impl From<ServiceClass> for Uuid
Source§fn from(v: ServiceClass) -> Self
fn from(v: ServiceClass) -> Self
Converts to this type from the input type.
Source§impl From<ServiceClass> for Uuid16
impl From<ServiceClass> for Uuid16
Source§fn from(v: ServiceClass) -> Self
fn from(v: ServiceClass) -> Self
Converts to this type from the input type.
Source§impl From<ServiceClass> for u16
impl From<ServiceClass> for u16
Source§fn from(enum_value: ServiceClass) -> Self
fn from(enum_value: ServiceClass) -> Self
Converts to this type from the input type.
Source§impl Ord for ServiceClass
impl Ord for ServiceClass
Source§fn cmp(&self, other: &ServiceClass) -> Ordering
fn cmp(&self, other: &ServiceClass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<ServiceClass> for Uuid
impl PartialEq<ServiceClass> for Uuid
Source§impl PartialEq<ServiceClass> for Uuid16
impl PartialEq<ServiceClass> for Uuid16
Source§impl PartialEq<Uuid> for ServiceClass
impl PartialEq<Uuid> for ServiceClass
Source§impl PartialEq<Uuid16> for ServiceClass
impl PartialEq<Uuid16> for ServiceClass
Source§impl PartialEq for ServiceClass
impl PartialEq for ServiceClass
Source§impl PartialOrd for ServiceClass
impl PartialOrd for ServiceClass
Source§impl TryFrom<Uuid16> for ServiceClass
impl TryFrom<Uuid16> for ServiceClass
Source§impl TryFrom<u16> for ServiceClass
impl TryFrom<u16> for ServiceClass
Source§type Error = TryFromPrimitiveError<ServiceClass>
type Error = TryFromPrimitiveError<ServiceClass>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ServiceClass
impl TryFromPrimitive for ServiceClass
impl Copy for ServiceClass
impl Eq for ServiceClass
impl StructuralPartialEq for ServiceClass
Auto Trait Implementations§
impl Freeze for ServiceClass
impl RefUnwindSafe for ServiceClass
impl Send for ServiceClass
impl Sync for ServiceClass
impl Unpin for ServiceClass
impl UnwindSafe for ServiceClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more