pub struct CliRuntime { /* private fields */ }Implementations§
Source§impl CliRuntime
impl CliRuntime
pub fn from_paths( config: Option<PathBuf>, config_dir: Option<PathBuf>, workspace_override: Option<PathBuf>, ) -> Self
pub fn loader(&self) -> &ConfigLoader
pub fn config_path(&self) -> &Path
pub fn config_dir(&self) -> &Path
pub fn runtime_dir(&self) -> &Path
pub fn load_config(&self) -> Result<Config>
pub fn effective_workspace(&self, config: &Config) -> PathBuf
pub fn cron_store_path(&self) -> PathBuf
pub fn bridge_dir(&self) -> PathBuf
pub fn whatsapp_auth_dir(&self) -> PathBuf
pub fn whatsapp_media_dir(&self) -> PathBuf
pub fn path_report(&self, config: &Config) -> PathReport
Trait Implementations§
Source§impl Clone for CliRuntime
impl Clone for CliRuntime
Source§fn clone(&self) -> CliRuntime
fn clone(&self) -> CliRuntime
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 moreAuto Trait Implementations§
impl Freeze for CliRuntime
impl RefUnwindSafe for CliRuntime
impl Send for CliRuntime
impl Sync for CliRuntime
impl Unpin for CliRuntime
impl UnsafeUnpin for CliRuntime
impl UnwindSafe for CliRuntime
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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