[−][src]Enum autodiscover_rs::Method
Method describes whether a multicast or broadcast method for sending discovery messages should be used.
Variants
Broadcast(SocketAddr)
Broadcast is an IPv4-only method of sending discovery messages; use a value such as "255.255.255.255:1337".parse()
or
"192.168.0.255:1337".parse()
when using this method. The latter value will be specific to your network setup.
Multicast(SocketAddr)
Multicast supports both IPv6 and IPv4 for sending discovery methods; use a value such as "224.0.0.1".parse()
for IPv4, or
"[ff0e::1]:1337".parse()
for IPv6. To be frank, IPv6 confuses me, but that address worked on my machine.
Auto Trait Implementations
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,