pub struct ReplicationReceivePump {
pub packets_received: usize,
pub bytes_received: usize,
pub frames: Vec<ReplicationFrame>,
}Expand description
Result of pumping replication packets.
Fields§
§packets_received: usizePackets consumed from client transport.
bytes_received: usizeBytes consumed from client transport.
frames: Vec<ReplicationFrame>Decoded replication frames.
Implementations§
Source§impl ReplicationReceivePump
impl ReplicationReceivePump
Sourcepub fn frames_received(&self) -> usize
pub fn frames_received(&self) -> usize
Returns accepted frame count.
Sourcepub fn entities_received(&self) -> usize
pub fn entities_received(&self) -> usize
Returns received entity delta count.
Sourcepub fn components_received(&self) -> usize
pub fn components_received(&self) -> usize
Returns received component delta count.
Trait Implementations§
Source§impl Clone for ReplicationReceivePump
impl Clone for ReplicationReceivePump
Source§fn clone(&self) -> ReplicationReceivePump
fn clone(&self) -> ReplicationReceivePump
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 ReplicationReceivePump
impl Debug for ReplicationReceivePump
Source§impl Default for ReplicationReceivePump
impl Default for ReplicationReceivePump
Source§fn default() -> ReplicationReceivePump
fn default() -> ReplicationReceivePump
Returns the “default value” for a type. Read more
impl Eq for ReplicationReceivePump
Source§impl PartialEq for ReplicationReceivePump
impl PartialEq for ReplicationReceivePump
impl StructuralPartialEq for ReplicationReceivePump
Auto Trait Implementations§
impl Freeze for ReplicationReceivePump
impl RefUnwindSafe for ReplicationReceivePump
impl Send for ReplicationReceivePump
impl Sync for ReplicationReceivePump
impl Unpin for ReplicationReceivePump
impl UnsafeUnpin for ReplicationReceivePump
impl UnwindSafe for ReplicationReceivePump
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