Skip to main content

ManagerIntentInterpreter

Trait ManagerIntentInterpreter 

Source
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§

Source

type Id

Represents the Id carrier used by the algebra.

Source

type Source

Represents the Source carrier used by the algebra.

Source

type Format

Represents the Format carrier used by the algebra.

Source

type Change

Represents the Change carrier used by the algebra.

Required Methods§

Source

fn add_sources(&mut self, requests: Vec<Self::Source>)

Interprets the add_sources operation.

Source

fn set_draft(&mut self, draft: String)

Interprets the set_draft operation.

Source

fn insert_text(&mut self, text: String)

Interprets the insert_text operation.

Source

fn set_output_draft(&mut self, draft: String)

Interprets the set_output_draft operation.

Source

fn set_input_draft(&mut self, draft: String)

Interprets the set_input_draft operation.

Source

fn source_metadata( &mut self, id: Self::Id, media_id: String, title: Option<String>, )

Interprets the source_metadata operation.

Source

fn format_catalog( &mut self, id: Self::Id, event: FormatDiscoveryOp<Self::Format>, )

Interprets the format_catalog operation.

Source

fn rehearsal( &mut self, id: Self::Id, event: RehearsalObservationOp<Self::Change>, )

Interprets the rehearsal operation.

Source

fn transfer(&mut self, id: Self::Id, event: TransferObservationOp)

Interprets the transfer operation.

Source

fn open_add_sources(&mut self)

Interprets the open_add_sources operation.

Source

fn submit_draft(&mut self)

Interprets the submit_draft operation.

Source

fn delete_before_cursor(&mut self)

Interprets the delete_before_cursor operation.

Source

fn delete_at_cursor(&mut self)

Interprets the delete_at_cursor operation.

Source

fn move_cursor_left(&mut self)

Interprets the move_cursor_left operation.

Source

fn move_cursor_right(&mut self)

Interprets the move_cursor_right operation.

Source

fn move_cursor_home(&mut self)

Interprets the move_cursor_home operation.

Source

fn move_cursor_end(&mut self)

Interprets the move_cursor_end operation.

Source

fn select_previous(&mut self)

Interprets the select_previous operation.

Source

fn select_next(&mut self)

Interprets the select_next operation.

Source

fn open_selected(&mut self)

Interprets the open_selected operation.

Source

fn select_previous_detail(&mut self)

Interprets the select_previous_detail operation.

Source

fn select_next_detail(&mut self)

Interprets the select_next_detail operation.

Source

fn activate_detail(&mut self)

Interprets the activate_detail operation.

Source

fn open_formats(&mut self)

Interprets the open_formats operation.

Source

fn open_output(&mut self)

Interprets the open_output operation.

Source

fn open_input(&mut self)

Interprets the open_input operation.

Source

fn submit_input(&mut self)

Interprets the submit_input operation.

Source

fn open_report(&mut self)

Interprets the open_report operation.

Source

fn toggle_dry_run(&mut self)

Interprets the toggle_dry_run operation.

Source

fn submit_output(&mut self)

Interprets the submit_output operation.

Source

fn back(&mut self)

Interprets the back operation.

Source

fn apply_selected_space(&mut self)

Interprets the apply_selected_space operation.

Source

fn select_previous_format(&mut self)

Interprets the select_previous_format operation.

Source

fn select_next_format(&mut self)

Interprets the select_next_format operation.

Source

fn duplicate_selected(&mut self)

Interprets the duplicate_selected operation.

Source

fn remove_selected(&mut self)

Interprets the remove_selected operation.

Source

fn restart_selected(&mut self)

Interprets the restart_selected operation.

Source

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".

Implementors§