pub struct Daemon<S: MetadataStore> { /* private fields */ }Expand description
Core daemon logic. IPC layers wrap this struct.
Implementations§
Source§impl<S: MetadataStore> Daemon<S>
impl<S: MetadataStore> Daemon<S>
pub fn new(store: S) -> Self
pub fn with_metrics(store: S, metrics: MetricsRegistry) -> Self
pub fn with_components( store: S, metrics: MetricsRegistry, notifications: Option<UnboundedSender<DaemonNotification>>, fsmonitor_helper: Option<String>, logs: LogBook, fsmonitor_cache: Option<FsMonitorCache>, ) -> Self
Auto Trait Implementations§
impl<S> Freeze for Daemon<S>where
S: Freeze,
impl<S> !RefUnwindSafe for Daemon<S>
impl<S> Send for Daemon<S>
impl<S> Sync for Daemon<S>
impl<S> Unpin for Daemon<S>where
S: Unpin,
impl<S> !UnwindSafe for Daemon<S>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more