Enum naia_client::ReplicationConfig
source · pub enum ReplicationConfig {
Private,
Public,
Delegated,
}
Variants§
Implementations§
source§impl ReplicationConfig
impl ReplicationConfig
pub fn is_delegated(&self) -> bool
Trait Implementations§
source§impl Clone for ReplicationConfig
impl Clone for ReplicationConfig
source§fn clone(&self) -> ReplicationConfig
fn clone(&self) -> ReplicationConfig
Returns a copy of the value. Read more
1.0.0 · 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 ReplicationConfig
impl Debug for ReplicationConfig
source§impl PartialEq for ReplicationConfig
impl PartialEq for ReplicationConfig
source§fn eq(&self, other: &ReplicationConfig) -> bool
fn eq(&self, other: &ReplicationConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReplicationConfig
impl Eq for ReplicationConfig
impl StructuralEq for ReplicationConfig
impl StructuralPartialEq for ReplicationConfig
Auto Trait Implementations§
impl RefUnwindSafe for ReplicationConfig
impl Send for ReplicationConfig
impl Sync for ReplicationConfig
impl Unpin for ReplicationConfig
impl UnwindSafe for ReplicationConfig
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