[−][src]Struct ssdp_probe::SsdpMSearch
Representation of an M-SEARCH SSDP request
Fields
host: SocketAddr
Host (address to use to respond to the query)
mx: usize
Max number of seconds to wait before sending response
st: &'a str
Search Target, possible values include (non exhaustive list):
ssdp:all
: search for all devices and servicesupnp:rootdevice
: search only for root devicesuuid:<device-UUID>
search for a specific device using its UUID
extra_lines: &'a str
Extra lines appended to the M-SEARCH query
Implementations
impl<'a> SsdpMSearch<'a>
[src]
pub fn get_payload(&self) -> Vec<u8>
[src]
Get a properly formatted SSDP M-SEARCH payload for this
Auto Trait Implementations
impl<'a> RefUnwindSafe for SsdpMSearch<'a>
impl<'a> Send for SsdpMSearch<'a>
impl<'a> Sync for SsdpMSearch<'a>
impl<'a> Unpin for SsdpMSearch<'a>
impl<'a> UnwindSafe for SsdpMSearch<'a>
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>,