pub struct EmbeddedRdbArtifact;Implementations§
Source§impl EmbeddedRdbArtifact
impl EmbeddedRdbArtifact
pub fn create(path: impl AsRef<Path>) -> RdbFileResult<EmbeddedRdbOpen>
pub fn create_with_snapshot( path: impl AsRef<Path>, snapshot: &[u8], ) -> RdbFileResult<EmbeddedRdbOpen>
pub fn open(path: impl AsRef<Path>) -> RdbFileResult<EmbeddedRdbOpen>
pub fn wal_payloads_encoded_len(payloads: &[Vec<u8>]) -> RdbFileResult<u64>
pub fn write_snapshot_with_wal_capacity( path: impl AsRef<Path>, snapshot: &[u8], min_wal_bytes: u64, ) -> RdbFileResult<EmbeddedRdbOpen>
pub fn open_strict_manifest( path: impl AsRef<Path>, ) -> RdbFileResult<EmbeddedRdbOpen>
pub fn read_snapshot(open: &EmbeddedRdbOpen) -> RdbFileResult<Option<Vec<u8>>>
pub fn write_snapshot( path: impl AsRef<Path>, snapshot: &[u8], ) -> RdbFileResult<EmbeddedRdbOpen>
pub fn read_wal_payloads(open: &EmbeddedRdbOpen) -> RdbFileResult<Vec<Vec<u8>>>
pub fn append_wal_payloads( path: impl AsRef<Path>, payloads: &[Vec<u8>], ) -> RdbFileResult<EmbeddedRdbOpen>
pub fn write_superblock_copy( file: &mut File, superblock: &EmbeddedRdbSuperblock, ) -> RdbFileResult<()>
Auto Trait Implementations§
impl Freeze for EmbeddedRdbArtifact
impl RefUnwindSafe for EmbeddedRdbArtifact
impl Send for EmbeddedRdbArtifact
impl Sync for EmbeddedRdbArtifact
impl Unpin for EmbeddedRdbArtifact
impl UnsafeUnpin for EmbeddedRdbArtifact
impl UnwindSafe for EmbeddedRdbArtifact
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