pub struct AbortShardTransferBuilder { /* private fields */ }
Expand description
Builder for AbortShardTransfer
.
Implementations§
source§impl AbortShardTransferBuilder
impl AbortShardTransferBuilder
pub fn to_shard_id(self, value: u32) -> Self
pub fn from_peer_id(self, value: u64) -> Self
pub fn to_peer_id(self, value: u64) -> Self
source§impl AbortShardTransferBuilder
impl AbortShardTransferBuilder
sourcepub fn build(self) -> AbortShardTransfer
pub fn build(self) -> AbortShardTransfer
Builds the desired type. Can often be omitted.
Trait Implementations§
source§impl From<AbortShardTransferBuilder> for AbortShardTransfer
impl From<AbortShardTransferBuilder> for AbortShardTransfer
source§fn from(value: AbortShardTransferBuilder) -> Self
fn from(value: AbortShardTransferBuilder) -> Self
Converts to this type from the input type.
source§impl From<AbortShardTransferBuilder> for Operation
impl From<AbortShardTransferBuilder> for Operation
source§fn from(value: AbortShardTransferBuilder) -> Self
fn from(value: AbortShardTransferBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AbortShardTransferBuilder
impl RefUnwindSafe for AbortShardTransferBuilder
impl Send for AbortShardTransferBuilder
impl Sync for AbortShardTransferBuilder
impl Unpin for AbortShardTransferBuilder
impl UnwindSafe for AbortShardTransferBuilder
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request