pub struct SetDiscoverTargetsParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> SetDiscoverTargetsParamsBuilder<'a>
impl<'a> SetDiscoverTargetsParamsBuilder<'a>
Sourcepub fn filter(self, filter: TargetFilter<'a>) -> Self
pub fn filter(self, filter: TargetFilter<'a>) -> Self
Only targets matching filter will be attached. If ‘discover’ is false, ‘filter’ must be omitted or empty.
pub fn build(self) -> SetDiscoverTargetsParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for SetDiscoverTargetsParamsBuilder<'a>
impl<'a> RefUnwindSafe for SetDiscoverTargetsParamsBuilder<'a>
impl<'a> Send for SetDiscoverTargetsParamsBuilder<'a>
impl<'a> Sync for SetDiscoverTargetsParamsBuilder<'a>
impl<'a> Unpin for SetDiscoverTargetsParamsBuilder<'a>
impl<'a> UnsafeUnpin for SetDiscoverTargetsParamsBuilder<'a>
impl<'a> UnwindSafe for SetDiscoverTargetsParamsBuilder<'a>
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