pub enum ComponentSyncMode {
NotReplicated,
Delta,
Snapshot,
EventOnly,
}Expand description
Synchronization behavior declared by a registered component.
Variants§
NotReplicated
Component is never replicated by SectorSync.
Delta
Component is replicated as delta when dirty.
Snapshot
Component is sent as a snapshot when selected by policy.
EventOnly
Component changes are represented by events.
Trait Implementations§
Source§impl Clone for ComponentSyncMode
impl Clone for ComponentSyncMode
Source§fn clone(&self) -> ComponentSyncMode
fn clone(&self) -> ComponentSyncMode
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 moreimpl Copy for ComponentSyncMode
Source§impl Debug for ComponentSyncMode
impl Debug for ComponentSyncMode
impl Eq for ComponentSyncMode
Source§impl PartialEq for ComponentSyncMode
impl PartialEq for ComponentSyncMode
impl StructuralPartialEq for ComponentSyncMode
Auto Trait Implementations§
impl Freeze for ComponentSyncMode
impl RefUnwindSafe for ComponentSyncMode
impl Send for ComponentSyncMode
impl Sync for ComponentSyncMode
impl Unpin for ComponentSyncMode
impl UnsafeUnpin for ComponentSyncMode
impl UnwindSafe for ComponentSyncMode
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