pub enum ServiceKind {
Primary,
Secondary,
}
Expand description
Whether a service is marked as Primary or Secondary on the server.
Variants§
Trait Implementations§
Source§impl Clone for ServiceKind
impl Clone for ServiceKind
Source§fn clone(&self) -> ServiceKind
fn clone(&self) -> ServiceKind
Returns a duplicate 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 ServiceKind
impl Debug for ServiceKind
Source§impl PartialEq for ServiceKind
impl PartialEq for ServiceKind
impl Copy for ServiceKind
impl Eq for ServiceKind
impl StructuralPartialEq for ServiceKind
Auto Trait Implementations§
impl Freeze for ServiceKind
impl RefUnwindSafe for ServiceKind
impl Send for ServiceKind
impl Sync for ServiceKind
impl Unpin for ServiceKind
impl UnwindSafe for ServiceKind
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