pub struct SnapshotInfoBuilder<'a: 'b, 'b, A: Allocator + 'a> { /* private fields */ }Implementations§
Source§impl<'a: 'b, 'b, A: Allocator + 'a> SnapshotInfoBuilder<'a, 'b, A>
impl<'a: 'b, 'b, A: Allocator + 'a> SnapshotInfoBuilder<'a, 'b, A>
pub fn add_id(&mut self, id: &ObjectId12)
pub fn add_parent_offset(&mut self, parent_offset: i32)
pub fn add_flushed_at(&mut self, flushed_at: u64)
pub fn add_message(&mut self, message: WIPOffset<&'b str>)
pub fn add_metadata( &mut self, metadata: WIPOffset<Vector<'b, ForwardsUOffset<MetadataItem<'b>>>>, )
pub fn new( _fbb: &'b mut FlatBufferBuilder<'a, A>, ) -> SnapshotInfoBuilder<'a, 'b, A>
pub fn finish(self) -> WIPOffset<SnapshotInfo<'a>>
Auto Trait Implementations§
impl<'a, 'b, A> Freeze for SnapshotInfoBuilder<'a, 'b, A>
impl<'a, 'b, A> RefUnwindSafe for SnapshotInfoBuilder<'a, 'b, A>where
A: RefUnwindSafe,
impl<'a, 'b, A> Send for SnapshotInfoBuilder<'a, 'b, A>where
A: Send,
impl<'a, 'b, A> Sync for SnapshotInfoBuilder<'a, 'b, A>where
A: Sync,
impl<'a, 'b, A> Unpin for SnapshotInfoBuilder<'a, 'b, A>
impl<'a, 'b, A> UnsafeUnpin for SnapshotInfoBuilder<'a, 'b, A>
impl<'a, 'b, A> !UnwindSafe for SnapshotInfoBuilder<'a, 'b, A>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more