Struct multicast_dns::host::host_manager::HostManager
source · pub struct HostManager { /* private fields */ }
Implementations
sourceimpl HostManager
impl HostManager
pub fn new() -> Self
pub fn get_name(&self) -> Result<String, Error>
pub fn set_name(&self, name: &str) -> Result<String, Error>
pub fn is_valid_name(&self, name: &str) -> Result<bool, Error>
pub fn get_alternative_name(&self, name: &str) -> Result<String, Error>
pub fn add_name_alias(&self, name: &str) -> Result<(), Error>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HostManager
impl !Send for HostManager
impl !Sync for HostManager
impl Unpin for HostManager
impl !UnwindSafe for HostManager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more