pub struct ServerDaemon { /* private fields */ }Expand description
RMUX daemon launcher — call bind to start listening.
Implementations§
Source§impl ServerDaemon
impl ServerDaemon
Sourcepub fn new(config: DaemonConfig) -> Self
pub fn new(config: DaemonConfig) -> Self
Creates a daemon launcher for the given configuration.
Sourcepub async fn bind(self) -> Result<ServerHandle>
pub async fn bind(self) -> Result<ServerHandle>
Binds the local IPC endpoint, starts accepting requests, and returns a handle.
Trait Implementations§
Source§impl Clone for ServerDaemon
impl Clone for ServerDaemon
Source§fn clone(&self) -> ServerDaemon
fn clone(&self) -> ServerDaemon
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 ServerDaemon
impl Debug for ServerDaemon
Source§impl PartialEq for ServerDaemon
impl PartialEq for ServerDaemon
Source§fn eq(&self, other: &ServerDaemon) -> bool
fn eq(&self, other: &ServerDaemon) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ServerDaemon
impl StructuralPartialEq for ServerDaemon
Auto Trait Implementations§
impl Freeze for ServerDaemon
impl RefUnwindSafe for ServerDaemon
impl Send for ServerDaemon
impl Sync for ServerDaemon
impl Unpin for ServerDaemon
impl UnsafeUnpin for ServerDaemon
impl UnwindSafe for ServerDaemon
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