Skip to main content

BeamPaths

Struct BeamPaths 

Source
pub struct BeamPaths { /* private fields */ }

Implementations§

Source§

impl BeamPaths

Source

pub fn from_root(root: impl Into<PathBuf>) -> Self

Source

pub fn discover() -> Result<Self>

Source

pub fn root(&self) -> &Path

Source

pub fn run_dir(&self) -> PathBuf

Source

pub fn logs_dir(&self) -> PathBuf

Source

pub fn state_dir(&self) -> PathBuf

Source

pub fn sessions_dir(&self) -> PathBuf

Source

pub fn workflows_dir(&self) -> PathBuf

Source

pub fn workflow_runs_dir(&self) -> PathBuf

Source

pub fn workflow_run_dir(&self, run_id: &str) -> PathBuf

Source

pub fn config_toml(&self) -> PathBuf

Source

pub fn bots_json(&self) -> PathBuf

Source

pub fn connectors_json(&self) -> PathBuf

Source

pub fn webhook_master_key(&self) -> PathBuf

Source

pub fn webhook_secrets_json(&self) -> PathBuf

Source

pub fn trigger_logs_jsonl(&self) -> PathBuf

Source

pub fn schedules_json(&self) -> PathBuf

Source

pub fn observed_bots_dir(&self) -> PathBuf

Source

pub fn webhook_triggers_json(&self) -> PathBuf

Source

pub fn webhook_lifecycle_json(&self) -> PathBuf

Source

pub fn schedules_output_dir(&self) -> PathBuf

Source

pub fn runtime_state_json(&self) -> PathBuf

Source

pub fn daemon_log(&self) -> PathBuf

Source

pub fn session_store_json(&self) -> PathBuf

Source

pub fn frozen_cards_dir(&self) -> PathBuf

Source

pub fn frozen_cards_json(&self, session_id: &str) -> PathBuf

Source

pub fn pending_response_patches_dir(&self) -> PathBuf

Source

pub fn pending_response_patch_json(&self, session_id: &str) -> PathBuf

Source

pub fn workflow_approval_cards_dir(&self) -> PathBuf

Source

pub fn workflow_approval_cards_json(&self, run_id: &str) -> PathBuf

Source

pub fn attempt_resume_dir( &self, run_id: &str, activity_id: &str, attempt_id: &str, ) -> PathBuf

Source

pub fn attempt_resume_json( &self, run_id: &str, activity_id: &str, attempt_id: &str, resume_id: &str, ) -> PathBuf

Source

pub fn worker_init_json(&self, session_id: &str) -> PathBuf

Source

pub fn worker_wrapper_sh(&self, session_id: &str) -> PathBuf

Source

pub fn cli_pid_markers_dir(&self) -> PathBuf

Source

pub fn zellij_web_tokens_json(&self) -> PathBuf

Source

pub fn workflow_progress_cards_json(&self) -> PathBuf

Source

pub fn used_tickets_json(&self) -> PathBuf

Source

pub fn ask_pending_json(&self) -> PathBuf

Source

pub fn grant_pending_json(&self) -> PathBuf

Source

pub fn pending_creates_json(&self) -> PathBuf

Source

pub fn replay_nonces_json(&self) -> PathBuf

Source

pub fn rate_buckets_json(&self) -> PathBuf

Source

pub fn recent_lark_events_json(&self) -> PathBuf

Source

pub fn final_output_retries_json(&self) -> PathBuf

Source

pub fn recent_dirs_json(&self) -> PathBuf

Trait Implementations§

Source§

impl Clone for BeamPaths

Source§

fn clone(&self) -> BeamPaths

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BeamPaths

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.