#[repr(transparent)]pub struct CBPeripheralManagerState(pub NSInteger);
👎Deprecated: Use CBManagerState instead
Available on crate feature
CBPeripheralManager
only.Expand description
Represents the current state of a CBPeripheralManager.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
👎Deprecated: Use CBManagerState instead
Implementations§
Source§impl CBPeripheralManagerState
impl CBPeripheralManagerState
pub const Unknown: Self
👎Deprecated: Use CBManagerState instead
Available on crate feature
CBManager
only.pub const Resetting: Self
👎Deprecated: Use CBManagerState instead
Available on crate feature
CBManager
only.pub const Unsupported: Self
👎Deprecated: Use CBManagerState instead
Available on crate feature
CBManager
only.👎Deprecated: Use CBManagerState instead
Available on crate feature
CBManager
only.pub const PoweredOff: Self
👎Deprecated: Use CBManagerState instead
Available on crate feature
CBManager
only.pub const PoweredOn: Self
👎Deprecated: Use CBManagerState instead
Available on crate feature
CBManager
only.Trait Implementations§
Source§impl Clone for CBPeripheralManagerState
impl Clone for CBPeripheralManagerState
Source§fn clone(&self) -> CBPeripheralManagerState
fn clone(&self) -> CBPeripheralManagerState
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 CBPeripheralManagerState
impl Debug for CBPeripheralManagerState
Source§impl Encode for CBPeripheralManagerState
impl Encode for CBPeripheralManagerState
Source§impl Hash for CBPeripheralManagerState
impl Hash for CBPeripheralManagerState
Source§impl Ord for CBPeripheralManagerState
impl Ord for CBPeripheralManagerState
Source§fn cmp(&self, other: &CBPeripheralManagerState) -> Ordering
fn cmp(&self, other: &CBPeripheralManagerState) -> 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 PartialOrd for CBPeripheralManagerState
impl PartialOrd for CBPeripheralManagerState
Source§impl RefEncode for CBPeripheralManagerState
impl RefEncode for CBPeripheralManagerState
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CBPeripheralManagerState
impl Eq for CBPeripheralManagerState
impl StructuralPartialEq for CBPeripheralManagerState
Auto Trait Implementations§
impl Freeze for CBPeripheralManagerState
impl RefUnwindSafe for CBPeripheralManagerState
impl Send for CBPeripheralManagerState
impl Sync for CBPeripheralManagerState
impl Unpin for CBPeripheralManagerState
impl UnwindSafe for CBPeripheralManagerState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.