#[repr(transparent)]pub struct CBCentralManagerState(pub NSInteger);👎Deprecated: Use CBManagerState instead
Available on crate feature
CBCentralManager only.Expand description
Represents the current state of a CBCentralManager.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger👎Deprecated: Use CBManagerState instead
Implementations§
Source§impl CBCentralManagerState
impl CBCentralManagerState
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 CBCentralManagerState
impl Clone for CBCentralManagerState
Source§fn clone(&self) -> CBCentralManagerState
fn clone(&self) -> CBCentralManagerState
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 CBCentralManagerState
impl Debug for CBCentralManagerState
Source§impl Encode for CBCentralManagerState
impl Encode for CBCentralManagerState
Source§impl Hash for CBCentralManagerState
impl Hash for CBCentralManagerState
Source§impl Ord for CBCentralManagerState
impl Ord for CBCentralManagerState
Source§fn cmp(&self, other: &CBCentralManagerState) -> Ordering
fn cmp(&self, other: &CBCentralManagerState) -> 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 for CBCentralManagerState
impl PartialEq for CBCentralManagerState
Source§impl PartialOrd for CBCentralManagerState
impl PartialOrd for CBCentralManagerState
Source§impl RefEncode for CBCentralManagerState
impl RefEncode for CBCentralManagerState
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 CBCentralManagerState
impl Eq for CBCentralManagerState
impl StructuralPartialEq for CBCentralManagerState
Auto Trait Implementations§
impl Freeze for CBCentralManagerState
impl RefUnwindSafe for CBCentralManagerState
impl Send for CBCentralManagerState
impl Sync for CBCentralManagerState
impl Unpin for CBCentralManagerState
impl UnwindSafe for CBCentralManagerState
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.