pub struct DownstreamBuilder { /* private fields */ }Expand description
Downstreamのビルダー型
Implementations§
Source§impl DownstreamBuilder
impl DownstreamBuilder
Sourcepub fn expiry_interval(&mut self, expiry_interval: Duration) -> &mut Self
pub fn expiry_interval(&mut self, expiry_interval: Duration) -> &mut Self
再開の有効期限を設定
Sourcepub fn ack_interval(&mut self, ack_interval: Duration) -> &mut Self
pub fn ack_interval(&mut self, ack_interval: Duration) -> &mut Self
Ack間隔を設定
Sourcepub fn omit_empty_chunk(&mut self, omit_empty_chunk: bool) -> &mut Self
pub fn omit_empty_chunk(&mut self, omit_empty_chunk: bool) -> &mut Self
空のチャンクを捨てるかの設定
Sourcepub fn reordering(&mut self, reordering: DownstreamReordering) -> &mut Self
pub fn reordering(&mut self, reordering: DownstreamReordering) -> &mut Self
Reliable用のチャンク並び替えの設定
Sourcepub fn reordering_chunks(&mut self, reordering_chunks: usize) -> &mut Self
pub fn reordering_chunks(&mut self, reordering_chunks: usize) -> &mut Self
並び替えを待つチャンクの最大値
Sourcepub async fn build(
&self,
) -> Result<(Downstream, DownstreamMetadataReader), Error>
pub async fn build( &self, ) -> Result<(Downstream, DownstreamMetadataReader), Error>
ダウンストリームを作成
Auto Trait Implementations§
impl !RefUnwindSafe for DownstreamBuilder
impl !UnwindSafe for DownstreamBuilder
impl Freeze for DownstreamBuilder
impl Send for DownstreamBuilder
impl Sync for DownstreamBuilder
impl Unpin for DownstreamBuilder
impl UnsafeUnpin for DownstreamBuilder
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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