Struct objc2_foundation::NSNetServicesError
source · #[repr(transparent)]pub struct NSNetServicesError(pub NSInteger);
Available on crate feature
NSNetServices
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSNetServicesError
impl NSNetServicesError
pub const NSNetServicesUnknownError: Self = _
pub const NSNetServicesCollisionError: Self = _
pub const NSNetServicesNotFoundError: Self = _
pub const NSNetServicesActivityInProgress: Self = _
pub const NSNetServicesBadArgumentError: Self = _
pub const NSNetServicesCancelledError: Self = _
pub const NSNetServicesInvalidError: Self = _
pub const NSNetServicesTimeoutError: Self = _
pub const NSNetServicesMissingRequiredConfigurationError: Self = _
Trait Implementations§
source§impl Clone for NSNetServicesError
impl Clone for NSNetServicesError
source§fn clone(&self) -> NSNetServicesError
fn clone(&self) -> NSNetServicesError
Returns a copy 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 NSNetServicesError
impl Debug for NSNetServicesError
source§impl Encode for NSNetServicesError
impl Encode for NSNetServicesError
source§impl Hash for NSNetServicesError
impl Hash for NSNetServicesError
source§impl Ord for NSNetServicesError
impl Ord for NSNetServicesError
source§fn cmp(&self, other: &NSNetServicesError) -> Ordering
fn cmp(&self, other: &NSNetServicesError) -> 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 NSNetServicesError
impl PartialEq for NSNetServicesError
source§fn eq(&self, other: &NSNetServicesError) -> bool
fn eq(&self, other: &NSNetServicesError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSNetServicesError
impl PartialOrd for NSNetServicesError
source§fn partial_cmp(&self, other: &NSNetServicesError) -> Option<Ordering>
fn partial_cmp(&self, other: &NSNetServicesError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSNetServicesError
impl RefEncode for NSNetServicesError
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 NSNetServicesError
impl Eq for NSNetServicesError
impl StructuralPartialEq for NSNetServicesError
Auto Trait Implementations§
impl Freeze for NSNetServicesError
impl RefUnwindSafe for NSNetServicesError
impl Send for NSNetServicesError
impl Sync for NSNetServicesError
impl Unpin for NSNetServicesError
impl UnwindSafe for NSNetServicesError
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> 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.