pub struct OpenOptions { /* private fields */ }Implementations§
Source§impl OpenOptions
impl OpenOptions
pub const fn new() -> Self
pub const fn access(&mut self, access: Access) -> &mut Self
pub const fn journal(&mut self, journal: Journal) -> &mut Self
pub const fn synchronous(&mut self, mode: Synchronous) -> &mut Self
pub const fn mapped_bytes(&mut self, bytes: u64) -> &mut Self
pub const fn path_bytes(&mut self, bytes: usize) -> &mut Self
pub fn open<'sql>( &self, runtime: Runtime, path: impl AsRef<Path>, ) -> Result<Target<'sql>, Error>
pub fn open_memory<'sql>(&self, runtime: Runtime) -> Result<Target<'sql>, Error>
Trait Implementations§
Source§impl Clone for OpenOptions
impl Clone for OpenOptions
impl Copy for OpenOptions
Source§impl Default for OpenOptions
impl Default for OpenOptions
impl Eq for OpenOptions
Source§impl PartialEq for OpenOptions
impl PartialEq for OpenOptions
impl StructuralPartialEq for OpenOptions
Auto Trait Implementations§
impl Freeze for OpenOptions
impl RefUnwindSafe for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnsafeUnpin for OpenOptions
impl UnwindSafe for OpenOptions
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