pub struct PreloadingAttemptSourceBuilder { /* private fields */ }Expand description
Builder for PreloadingAttemptSource.
Implementations§
Source§impl PreloadingAttemptSourceBuilder
impl PreloadingAttemptSourceBuilder
pub fn key<VALUE: Into<PreloadingAttemptKey>>( &mut self, value: VALUE, ) -> &mut Self
pub fn rule_set_ids<VALUE: Into<Vec<RuleSetId>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn node_ids<VALUE: Into<Vec<BackendNodeId>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<PreloadingAttemptSource, PreloadingAttemptSourceBuilderError>
pub fn build( &self, ) -> Result<PreloadingAttemptSource, PreloadingAttemptSourceBuilderError>
Trait Implementations§
Source§impl Clone for PreloadingAttemptSourceBuilder
impl Clone for PreloadingAttemptSourceBuilder
Source§fn clone(&self) -> PreloadingAttemptSourceBuilder
fn clone(&self) -> PreloadingAttemptSourceBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PreloadingAttemptSourceBuilder
impl RefUnwindSafe for PreloadingAttemptSourceBuilder
impl Send for PreloadingAttemptSourceBuilder
impl Sync for PreloadingAttemptSourceBuilder
impl Unpin for PreloadingAttemptSourceBuilder
impl UnsafeUnpin for PreloadingAttemptSourceBuilder
impl UnwindSafe for PreloadingAttemptSourceBuilder
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