pub struct LocalDaemonConfig {
pub socket_path: PathBuf,
pub pid_path: PathBuf,
}Expand description
Configuration for serve. The socket and pidfile default to the
well-known locations under the repo’s .heddle/sockets/ directory.
Fields§
§socket_path: PathBuf§pid_path: PathBufImplementations§
Source§impl LocalDaemonConfig
impl LocalDaemonConfig
pub fn from_repo(repo: &Repository) -> Self
pub fn with_socket(self, path: PathBuf) -> Self
Auto Trait Implementations§
impl Freeze for LocalDaemonConfig
impl RefUnwindSafe for LocalDaemonConfig
impl Send for LocalDaemonConfig
impl Sync for LocalDaemonConfig
impl Unpin for LocalDaemonConfig
impl UnsafeUnpin for LocalDaemonConfig
impl UnwindSafe for LocalDaemonConfig
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request