pub struct VowAsync<T, F> { /* private fields */ }Expand description
Asynchronously binds data to a file.
Implementations§
Source§impl<T, F> VowAsync<T, F>where
T: Data,
F: VowFileAsync,
impl<T, F> VowAsync<T, F>where
T: Data,
F: VowFileAsync,
Source§impl<T, F> VowAsync<T, F>where
T: Data,
F: VowFileAsync,
impl<T, F> VowAsync<T, F>where
T: Data,
F: VowFileAsync,
Source§impl VowAsync<Infallible, File>
impl VowAsync<Infallible, File>
Sourcepub fn open_tokio<P: AsRef<Path>>(
path: P,
) -> VowBuilder<Nothing<Infallible>, File, Async, Json>
Available on crate feature backend-tokio only.
pub fn open_tokio<P: AsRef<Path>>( path: P, ) -> VowBuilder<Nothing<Infallible>, File, Async, Json>
backend-tokio only.Open a tokio file at the given path.
Source§impl VowAsync<Infallible, File>
impl VowAsync<Infallible, File>
Sourcepub fn open_async_std<P: AsRef<Path>>(
path: P,
) -> VowBuilder<Nothing<Infallible>, File, Async, Json>
Available on crate feature backend-async-std only.
pub fn open_async_std<P: AsRef<Path>>( path: P, ) -> VowBuilder<Nothing<Infallible>, File, Async, Json>
backend-async-std only.Open an async_std file at the given path.
Source§impl VowAsync<Infallible, File>
impl VowAsync<Infallible, File>
Sourcepub fn open_compio<P: AsRef<Path>>(
path: P,
) -> VowBuilder<Nothing<Infallible>, File, Async, Json>
Available on crate feature backend-compio only.
pub fn open_compio<P: AsRef<Path>>( path: P, ) -> VowBuilder<Nothing<Infallible>, File, Async, Json>
backend-compio only.Open a compio file at the given path.
Source§impl<T, F: VowFileAsync> VowAsync<T, F>
impl<T, F: VowFileAsync> VowAsync<T, F>
Sourcepub const fn builder(file: F) -> VowBuilder<Nothing<T>, F, Async, Json>where
F: VowFileAsync,
pub const fn builder(file: F) -> VowBuilder<Nothing<T>, F, Async, Json>where
F: VowFileAsync,
Create a new builder for VowAsync.
Trait Implementations§
Auto Trait Implementations§
impl<T, F> Freeze for VowAsync<T, F>
impl<T, F> RefUnwindSafe for VowAsync<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for VowAsync<T, F>
impl<T, F> Sync for VowAsync<T, F>
impl<T, F> Unpin for VowAsync<T, F>
impl<T, F> UnwindSafe for VowAsync<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