pub trait ManagerIntentInterpreter {
type Id;
type Source;
type Format;
type Change;
Show 38 methods
// Required methods
fn add_sources(&mut self, requests: Vec<Self::Source>);
fn set_draft(&mut self, draft: String);
fn insert_text(&mut self, text: String);
fn set_output_draft(&mut self, draft: String);
fn set_input_draft(&mut self, draft: String);
fn source_metadata(
&mut self,
id: Self::Id,
media_id: String,
title: Option<String>,
);
fn format_catalog(
&mut self,
id: Self::Id,
event: FormatDiscoveryOp<Self::Format>,
);
fn rehearsal(
&mut self,
id: Self::Id,
event: RehearsalObservationOp<Self::Change>,
);
fn transfer(&mut self, id: Self::Id, event: TransferObservationOp);
fn open_add_sources(&mut self);
fn submit_draft(&mut self);
fn delete_before_cursor(&mut self);
fn delete_at_cursor(&mut self);
fn move_cursor_left(&mut self);
fn move_cursor_right(&mut self);
fn move_cursor_home(&mut self);
fn move_cursor_end(&mut self);
fn select_previous(&mut self);
fn select_next(&mut self);
fn open_selected(&mut self);
fn select_previous_detail(&mut self);
fn select_next_detail(&mut self);
fn activate_detail(&mut self);
fn open_formats(&mut self);
fn open_output(&mut self);
fn open_input(&mut self);
fn submit_input(&mut self);
fn open_report(&mut self);
fn toggle_dry_run(&mut self);
fn submit_output(&mut self);
fn back(&mut self);
fn apply_selected_space(&mut self);
fn select_previous_format(&mut self);
fn select_next_format(&mut self);
fn duplicate_selected(&mut self);
fn remove_selected(&mut self);
fn restart_selected(&mut self);
fn safe_exit_requested(&mut self);
}Expand description
Interprets one ManagerIntent operation at a time.
Required Associated Types§
Required Methods§
Sourcefn add_sources(&mut self, requests: Vec<Self::Source>)
fn add_sources(&mut self, requests: Vec<Self::Source>)
Interprets the add_sources operation.
Sourcefn insert_text(&mut self, text: String)
fn insert_text(&mut self, text: String)
Interprets the insert_text operation.
Sourcefn set_output_draft(&mut self, draft: String)
fn set_output_draft(&mut self, draft: String)
Interprets the set_output_draft operation.
Sourcefn set_input_draft(&mut self, draft: String)
fn set_input_draft(&mut self, draft: String)
Interprets the set_input_draft operation.
Sourcefn source_metadata(
&mut self,
id: Self::Id,
media_id: String,
title: Option<String>,
)
fn source_metadata( &mut self, id: Self::Id, media_id: String, title: Option<String>, )
Interprets the source_metadata operation.
Sourcefn format_catalog(
&mut self,
id: Self::Id,
event: FormatDiscoveryOp<Self::Format>,
)
fn format_catalog( &mut self, id: Self::Id, event: FormatDiscoveryOp<Self::Format>, )
Interprets the format_catalog operation.
Sourcefn rehearsal(
&mut self,
id: Self::Id,
event: RehearsalObservationOp<Self::Change>,
)
fn rehearsal( &mut self, id: Self::Id, event: RehearsalObservationOp<Self::Change>, )
Interprets the rehearsal operation.
Sourcefn transfer(&mut self, id: Self::Id, event: TransferObservationOp)
fn transfer(&mut self, id: Self::Id, event: TransferObservationOp)
Interprets the transfer operation.
Sourcefn open_add_sources(&mut self)
fn open_add_sources(&mut self)
Interprets the open_add_sources operation.
Sourcefn submit_draft(&mut self)
fn submit_draft(&mut self)
Interprets the submit_draft operation.
Sourcefn delete_before_cursor(&mut self)
fn delete_before_cursor(&mut self)
Interprets the delete_before_cursor operation.
Sourcefn delete_at_cursor(&mut self)
fn delete_at_cursor(&mut self)
Interprets the delete_at_cursor operation.
Sourcefn move_cursor_left(&mut self)
fn move_cursor_left(&mut self)
Interprets the move_cursor_left operation.
Sourcefn move_cursor_right(&mut self)
fn move_cursor_right(&mut self)
Interprets the move_cursor_right operation.
Sourcefn move_cursor_home(&mut self)
fn move_cursor_home(&mut self)
Interprets the move_cursor_home operation.
Sourcefn move_cursor_end(&mut self)
fn move_cursor_end(&mut self)
Interprets the move_cursor_end operation.
Sourcefn select_previous(&mut self)
fn select_previous(&mut self)
Interprets the select_previous operation.
Sourcefn select_next(&mut self)
fn select_next(&mut self)
Interprets the select_next operation.
Sourcefn open_selected(&mut self)
fn open_selected(&mut self)
Interprets the open_selected operation.
Sourcefn select_previous_detail(&mut self)
fn select_previous_detail(&mut self)
Interprets the select_previous_detail operation.
Sourcefn select_next_detail(&mut self)
fn select_next_detail(&mut self)
Interprets the select_next_detail operation.
Sourcefn activate_detail(&mut self)
fn activate_detail(&mut self)
Interprets the activate_detail operation.
Sourcefn open_formats(&mut self)
fn open_formats(&mut self)
Interprets the open_formats operation.
Sourcefn open_output(&mut self)
fn open_output(&mut self)
Interprets the open_output operation.
Sourcefn open_input(&mut self)
fn open_input(&mut self)
Interprets the open_input operation.
Sourcefn submit_input(&mut self)
fn submit_input(&mut self)
Interprets the submit_input operation.
Sourcefn open_report(&mut self)
fn open_report(&mut self)
Interprets the open_report operation.
Sourcefn toggle_dry_run(&mut self)
fn toggle_dry_run(&mut self)
Interprets the toggle_dry_run operation.
Sourcefn submit_output(&mut self)
fn submit_output(&mut self)
Interprets the submit_output operation.
Sourcefn apply_selected_space(&mut self)
fn apply_selected_space(&mut self)
Interprets the apply_selected_space operation.
Sourcefn select_previous_format(&mut self)
fn select_previous_format(&mut self)
Interprets the select_previous_format operation.
Sourcefn select_next_format(&mut self)
fn select_next_format(&mut self)
Interprets the select_next_format operation.
Sourcefn duplicate_selected(&mut self)
fn duplicate_selected(&mut self)
Interprets the duplicate_selected operation.
Sourcefn remove_selected(&mut self)
fn remove_selected(&mut self)
Interprets the remove_selected operation.
Sourcefn restart_selected(&mut self)
fn restart_selected(&mut self)
Interprets the restart_selected operation.
Sourcefn safe_exit_requested(&mut self)
fn safe_exit_requested(&mut self)
Interprets the safe_exit_requested operation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".