pub struct FileTeamManager { /* private fields */ }Expand description
File-system backed TeamManager.
Directory layout (mirrors Claude Code):
{base_dir}/
{team-name}/
config.json # TeamConfig
config.json.lock # flock guard
inboxes/ # per-agent message inboxes
...
{tasks_base}/ # ~/.claude/tasks/{team-name}/ (task storage)Implementations§
Trait Implementations§
Source§impl Default for FileTeamManager
impl Default for FileTeamManager
Source§impl TeamManager for FileTeamManager
impl TeamManager for FileTeamManager
Source§fn create_team<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
description: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<TeamConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_team<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
name: &'life1 str,
description: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<TeamConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Create a new team with the given name and optional description. Read more
Source§fn delete_team<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_team<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delete a team by name. Read more
Source§fn read_config<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TeamConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read_config<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TeamConfig>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Read the team config from disk.
Source§fn add_member<'life0, 'life1, 'async_trait>(
&'life0 self,
team: &'life1 str,
member: MemberUnion,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn add_member<'life0, 'life1, 'async_trait>(
&'life0 self,
team: &'life1 str,
member: MemberUnion,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Add a member (lead or teammate) to a team. Read more
Source§fn remove_member<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
team: &'life1 str,
member_name: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn remove_member<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
team: &'life1 str,
member_name: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Remove a member by name from a team. Read more
Auto Trait Implementations§
impl Freeze for FileTeamManager
impl RefUnwindSafe for FileTeamManager
impl Send for FileTeamManager
impl Sync for FileTeamManager
impl Unpin for FileTeamManager
impl UnwindSafe for FileTeamManager
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