pub struct WriterProxyState {
pub proxy: WriterProxy,
pub received_cache: HistoryCache,
pub delivered_up_to: SequenceNumber,
pub assembler: FragmentAssembler,
pub pending_acknack_since: Option<Duration>,
}Expand description
Pro-Writer State: der Proxy + getrennter Empfangs-State.
Jeder Remote-Writer hat seinen eigenen SN-Space (§8.3.5.4), also
auch eigenen received_cache, delivered_up_to und
FragmentAssembler. So koennen zwei Writer mit kollidierenden SN
(z.B. beide starten bei 1) problemlos parallel empfangen werden.
Fields§
§proxy: WriterProxyWriter-Proxy-Protokoll-State.
received_cache: HistoryCacheEmpfangs-Cache fuer diesen Writer.
delivered_up_to: SequenceNumberHoechste SN, die an die App ausgeliefert wurde.
assembler: FragmentAssemblerFragment-Reassembly fuer diesen Writer.
pending_acknack_since: Option<Duration>Zeitpunkt, seit wann ein ACKNACK/NACK_FRAG an diesen Writer
ausstehend ist. None = nichts ausstehend.
Trait Implementations§
Source§impl Clone for WriterProxyState
impl Clone for WriterProxyState
Source§fn clone(&self) -> WriterProxyState
fn clone(&self) -> WriterProxyState
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 moreAuto Trait Implementations§
impl Freeze for WriterProxyState
impl RefUnwindSafe for WriterProxyState
impl Send for WriterProxyState
impl Sync for WriterProxyState
impl Unpin for WriterProxyState
impl UnsafeUnpin for WriterProxyState
impl UnwindSafe for WriterProxyState
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