pub struct Vow<T, F> { /* private fields */ }Expand description
Synchronously binds data to a file.
Implementations§
Source§impl<T, F> Vow<T, F>
impl<T, F> Vow<T, F>
Source§impl Vow<Infallible, File>
impl Vow<Infallible, File>
Sourcepub fn open<P: AsRef<Path>>(
path: P,
) -> VowBuilder<Nothing<Infallible>, File, Blocking, Json>
pub fn open<P: AsRef<Path>>( path: P, ) -> VowBuilder<Nothing<Infallible>, File, Blocking, Json>
Open a blocking file at the given path.
Source§impl<F> Vow<Infallible, F>
impl<F> Vow<Infallible, F>
Sourcepub const fn builder(
file: F,
) -> VowBuilder<Nothing<Infallible>, F, Blocking, Json>
pub const fn builder( file: F, ) -> VowBuilder<Nothing<Infallible>, F, Blocking, Json>
Create a new builder for Vow.
Trait Implementations§
Auto Trait Implementations§
impl<T, F> Freeze for Vow<T, F>
impl<T, F> RefUnwindSafe for Vow<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for Vow<T, F>
impl<T, F> Sync for Vow<T, F>
impl<T, F> Unpin for Vow<T, F>
impl<T, F> UnwindSafe for Vow<T, F>where
T: UnwindSafe,
F: UnwindSafe,
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