pub struct AppendBlockBuilder { /* private fields */ }
Implementations§
source§impl AppendBlockBuilder
impl AppendBlockBuilder
Setters for the various options for this builder
pub fn hash<P: Into<Hash>>(self, hash: P) -> Self
pub fn condition_max_size<P: Into<ConditionMaxSize>>( self, condition_max_size: P, ) -> Self
pub fn condition_append_position<P: Into<ConditionAppendPosition>>( self, condition_append_position: P, ) -> Self
pub fn if_modified_since<P: Into<IfModifiedSinceCondition>>( self, if_modified_since: P, ) -> Self
pub fn if_match<P: Into<IfMatchCondition>>(self, if_match: P) -> Self
pub fn lease_id<P: Into<LeaseId>>(self, lease_id: P) -> Self
pub fn context<P: Into<Context>>(self, context: P) -> Self
source§impl AppendBlockBuilder
impl AppendBlockBuilder
pub fn into_future(self) -> AppendBlock
Trait Implementations§
source§impl Clone for AppendBlockBuilder
impl Clone for AppendBlockBuilder
source§fn clone(&self) -> AppendBlockBuilder
fn clone(&self) -> AppendBlockBuilder
Returns a copy of the value. Read more
1.0.0 · 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 AppendBlockBuilder
impl Debug for AppendBlockBuilder
source§impl IntoFuture for AppendBlockBuilder
impl IntoFuture for AppendBlockBuilder
source§type IntoFuture = Pin<Box<dyn Future<Output = Result<PutBlockResponse, Error>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<PutBlockResponse, Error>> + Send>>
Which kind of future are we turning this into?
source§type Output = <Pin<Box<dyn Future<Output = Result<PutBlockResponse, Error>> + Send>> as Future>::Output
type Output = <Pin<Box<dyn Future<Output = Result<PutBlockResponse, Error>> + Send>> as Future>::Output
The output that the future will produce on completion.
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !Freeze for AppendBlockBuilder
impl !RefUnwindSafe for AppendBlockBuilder
impl Send for AppendBlockBuilder
impl Sync for AppendBlockBuilder
impl Unpin for AppendBlockBuilder
impl !UnwindSafe for AppendBlockBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)