#[repr(u64)]pub enum NSNetServiceOptions {
NoAutoRename = 1,
ListenForConnections = 2,
}Expand description
These constants specify options for a network service.
Variants§
NoAutoRename = 1
Specifies that the network service should not rename itself in the event of a name collision.
ListenForConnections = 2
Specifies that a TCP listener should be started for both IPv4 and IPv6 on the port specified by this service. If the listening port can’t be opened, the service calls its delegate’s netService:didNotPublish: method to report the error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NSNetServiceOptions
impl RefUnwindSafe for NSNetServiceOptions
impl Send for NSNetServiceOptions
impl Sync for NSNetServiceOptions
impl Unpin for NSNetServiceOptions
impl UnwindSafe for NSNetServiceOptions
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