pub enum ServiceKind {
Daemon,
LocalRelay,
}Expand description
Which wire service is being managed. Each kind has its own launchd label / systemd unit name / log path so the two kinds can coexist on the same machine without colliding.
Variants§
Daemon
wire daemon --interval 5. One per identity. The default.
LocalRelay
wire relay-server --bind 127.0.0.1:8771 --local-only. One
per machine — provides the loopback transport that sister
agents’ sessions route through (v0.5.17 dual-slot).
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 (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 ServiceKind
impl Debug for ServiceKind
Source§impl PartialEq for ServiceKind
impl PartialEq for ServiceKind
Source§fn eq(&self, other: &ServiceKind) -> bool
fn eq(&self, other: &ServiceKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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