pub struct Builder<T>(/* private fields */);
Expand description
A builder for AppendResult
Implementations§
Source§impl Builder<StartStage>
impl Builder<StartStage>
Source§impl Builder<EndStage>
impl Builder<EndStage>
Sourcepub fn end(self, end: Timestamp) -> Builder<ResultStage>
pub fn end(self, end: Timestamp) -> Builder<ResultStage>
Sets the end
field.
Source§impl Builder<ResultStage>
impl Builder<ResultStage>
Sourcepub fn result(self, result: ComputeNodeAppendResponse) -> Builder<Complete>
pub fn result(self, result: ComputeNodeAppendResponse) -> Builder<Complete>
Sets the result
field.
Source§impl Builder<Complete>
impl Builder<Complete>
Sourcepub fn result(self, result: ComputeNodeAppendResponse) -> Self
pub fn result(self, result: ComputeNodeAppendResponse) -> Self
Sets the result
field.
Sourcepub fn build(self) -> AppendResult
pub fn build(self) -> AppendResult
Consumes the builder, returning a AppendResult
.
Trait Implementations§
Source§impl Default for Builder<StartStage>
impl Default for Builder<StartStage>
Source§impl From<AppendResult> for Builder<Complete>
impl From<AppendResult> for Builder<Complete>
Source§fn from(v: AppendResult) -> Self
fn from(v: AppendResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for Builder<T>where
T: Freeze,
impl<T> RefUnwindSafe for Builder<T>where
T: RefUnwindSafe,
impl<T> Send for Builder<T>where
T: Send,
impl<T> Sync for Builder<T>where
T: Sync,
impl<T> Unpin for Builder<T>where
T: Unpin,
impl<T> UnwindSafe for Builder<T>where
T: 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