#[non_exhaustive]pub struct DownstreamConfig {
pub filters: Vec<DownstreamFilter>,
pub expiry_interval: Duration,
pub qos: QoS,
pub data_ids: Vec<DataId>,
pub ack_interval: Duration,
pub omit_empty_chunk: bool,
pub reordering: DownstreamReordering,
pub reordering_chunks: usize,
pub close_timeout: Duration,
}Expand description
ダウンストリームの設定
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.filters: Vec<DownstreamFilter>フィルタ
expiry_interval: Durationストリーム再開の有効期限
qos: QoSストリームのQoS
data_ids: Vec<DataId>データIDエイリアスの設定に用いるデータIDのリスト
ack_interval: DurationACKの返信間隔
omit_empty_chunk: bool空のチャンクを捨てるかの設定
reordering: DownstreamReorderingReliable用のチャンク並び替えの設定
reordering_chunks: usize並び替えを待つチャンクの最大値
close_timeout: Durationクローズのタイムアウト
Trait Implementations§
Source§impl Clone for DownstreamConfig
impl Clone for DownstreamConfig
Source§fn clone(&self) -> DownstreamConfig
fn clone(&self) -> DownstreamConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DownstreamConfig
impl Debug for DownstreamConfig
Auto Trait Implementations§
impl Freeze for DownstreamConfig
impl RefUnwindSafe for DownstreamConfig
impl Send for DownstreamConfig
impl Sync for DownstreamConfig
impl Unpin for DownstreamConfig
impl UnsafeUnpin for DownstreamConfig
impl UnwindSafe for DownstreamConfig
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