pub struct HostFileOptsBuilder { /* private fields */ }
Expand description
Builder for HostFileOpts
.
Implementations§
Source§impl HostFileOptsBuilder
impl HostFileOptsBuilder
Sourcepub fn no_cache<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn no_cache<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, the file will always be reloaded from the host.
Sourcepub fn build(&self) -> Result<HostFileOpts, HostFileOptsBuilderError>
pub fn build(&self) -> Result<HostFileOpts, HostFileOptsBuilderError>
Trait Implementations§
Source§impl Clone for HostFileOptsBuilder
impl Clone for HostFileOptsBuilder
Source§fn clone(&self) -> HostFileOptsBuilder
fn clone(&self) -> HostFileOptsBuilder
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 HostFileOptsBuilder
impl RefUnwindSafe for HostFileOptsBuilder
impl Send for HostFileOptsBuilder
impl Sync for HostFileOptsBuilder
impl Unpin for HostFileOptsBuilder
impl UnwindSafe for HostFileOptsBuilder
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