pub struct ServerlessBootIndex {
pub generation: u64,
pub entries: Vec<ServerlessBootIndexEntry>,
}Fields§
§generation: u64§entries: Vec<ServerlessBootIndexEntry>Implementations§
Source§impl ServerlessBootIndex
impl ServerlessBootIndex
pub fn from_plan(plan: &ServerlessFilePlan) -> Self
pub fn required_first(&self) -> Vec<PathBuf>
pub fn lazy_after_open(&self) -> Vec<PathBuf>
pub fn write_to_path(&self, path: impl AsRef<Path>) -> RdbFileResult<()>
pub fn read_from_path(path: impl AsRef<Path>) -> RdbFileResult<Self>
pub fn encode(&self) -> Vec<u8> ⓘ
pub fn decode(bytes: &[u8]) -> RdbFileResult<Self>
Trait Implementations§
Source§impl Clone for ServerlessBootIndex
impl Clone for ServerlessBootIndex
Source§fn clone(&self) -> ServerlessBootIndex
fn clone(&self) -> ServerlessBootIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerlessBootIndex
impl Debug for ServerlessBootIndex
impl Eq for ServerlessBootIndex
Source§impl PartialEq for ServerlessBootIndex
impl PartialEq for ServerlessBootIndex
Source§fn eq(&self, other: &ServerlessBootIndex) -> bool
fn eq(&self, other: &ServerlessBootIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerlessBootIndex
Auto Trait Implementations§
impl Freeze for ServerlessBootIndex
impl RefUnwindSafe for ServerlessBootIndex
impl Send for ServerlessBootIndex
impl Sync for ServerlessBootIndex
impl Unpin for ServerlessBootIndex
impl UnsafeUnpin for ServerlessBootIndex
impl UnwindSafe for ServerlessBootIndex
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