pub struct ManagedAvahiServiceResolverParamsBuilder { /* private fields */ }
Expand description
Builder for ManagedAvahiServiceResolverParams
.
Implementations§
source§impl ManagedAvahiServiceResolverParamsBuilder
impl ManagedAvahiServiceResolverParamsBuilder
pub fn client(&mut self, value: Arc<ManagedAvahiClient>) -> &mut Self
pub fn interface(&mut self, value: AvahiIfIndex) -> &mut Self
pub fn protocol(&mut self, value: AvahiProtocol) -> &mut Self
pub fn name(&mut self, value: *const c_char) -> &mut Self
pub fn kind(&mut self, value: *const c_char) -> &mut Self
pub fn domain(&mut self, value: *const c_char) -> &mut Self
pub fn aprotocol(&mut self, value: AvahiProtocol) -> &mut Self
pub fn flags(&mut self, value: AvahiLookupFlags) -> &mut Self
pub fn callback(&mut self, value: AvahiServiceResolverCallback) -> &mut Self
pub fn userdata(&mut self, value: *mut c_void) -> &mut Self
Trait Implementations§
source§impl BuilderDelegate<ManagedAvahiServiceResolverParamsBuilder> for ManagedAvahiServiceResolverParams
impl BuilderDelegate<ManagedAvahiServiceResolverParamsBuilder> for ManagedAvahiServiceResolverParams
source§impl Clone for ManagedAvahiServiceResolverParamsBuilder
impl Clone for ManagedAvahiServiceResolverParamsBuilder
source§fn clone(&self) -> ManagedAvahiServiceResolverParamsBuilder
fn clone(&self) -> ManagedAvahiServiceResolverParamsBuilder
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 Default for ManagedAvahiServiceResolverParamsBuilder
impl Default for ManagedAvahiServiceResolverParamsBuilder
source§fn default() -> ManagedAvahiServiceResolverParamsBuilder
fn default() -> ManagedAvahiServiceResolverParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ManagedAvahiServiceResolverParamsBuilder
impl RefUnwindSafe for ManagedAvahiServiceResolverParamsBuilder
impl !Send for ManagedAvahiServiceResolverParamsBuilder
impl !Sync for ManagedAvahiServiceResolverParamsBuilder
impl Unpin for ManagedAvahiServiceResolverParamsBuilder
impl UnwindSafe for ManagedAvahiServiceResolverParamsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)