pub enum SyncProtocol {
Quic,
}Expand description
Protocol to use for sync.
Variants§
Quic
QUIC protocol (fast, recommended)
Trait Implementations§
Source§impl Clone for SyncProtocol
impl Clone for SyncProtocol
Source§fn clone(&self) -> SyncProtocol
fn clone(&self) -> SyncProtocol
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 SyncProtocol
impl Debug for SyncProtocol
Source§impl PartialEq for SyncProtocol
impl PartialEq for SyncProtocol
Source§fn eq(&self, other: &SyncProtocol) -> bool
fn eq(&self, other: &SyncProtocol) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyncProtocol
Auto Trait Implementations§
impl Freeze for SyncProtocol
impl RefUnwindSafe for SyncProtocol
impl Send for SyncProtocol
impl Sync for SyncProtocol
impl Unpin for SyncProtocol
impl UnsafeUnpin for SyncProtocol
impl UnwindSafe for SyncProtocol
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