MCPcopy Create free account

hub / github.com/Procrat/eva / functions

Functions113 in github.com/Procrat/eva

↓ 20 callersMethodget_connection
( &self, )
src/database/sqlite.rs:292
↓ 14 callersMethodranges
(&self)
src/time_segment.rs:160
↓ 13 callersMethodschedule_exact
(&mut self, start: T, duration: W, data: D)
src/scheduling/schedule_tree.rs:68
↓ 12 callersMethodschedule_close_after
Tries to schedule `data` as close as possible after `start` with the given `duration`. It must be scheduled before `max_end` when given. Returns whet
src/scheduling/schedule_tree.rs:170
↓ 12 callersMethodschedule_close_before
Tries to schedule `data` as close as possible before `end` with the given `duration`. It must be scheduled after `min_start` when given. Returns whet
src/scheduling/schedule_tree.rs:98
↓ 10 callersMethodperiod
(&self)
src/time_segment.rs:168
↓ 10 callersMethodunschedule
Removes the given data from the schedule tree. Returns the related entry from the tree if the tree contained it, otherwise None.
src/scheduling/schedule_tree.rs:283
↓ 9 callersMethodinto_iter
(self)
src/scheduling/schedule_tree.rs:589
↓ 8 callersMethoddeadline
(&self)
src/scheduling/mod.rs:26
↓ 7 callersMethodall_time_segments
(&self)
src/database/sqlite.rs:283
↓ 7 callersMethodstart
(&self)
src/time_segment.rs:164
↓ 6 callersMethodduration
(&self)
src/scheduling/mod.rs:30
↓ 6 callersFunctionmake_connection
(database_url: &str)
src/database/sqlite.rs:389
↓ 5 callersMethoditer
Returns a chronological iterator of the schedule tree.
src/scheduling/schedule_tree.rs:54
↓ 4 callersMethodadd_task
(&self, task: crate::NewTask)
src/database/sqlite.rs:107
↓ 4 callersMethoddelete_time_segment
(&self, time_segment: CrateTimeSegment)
src/database/sqlite.rs:204
↓ 4 callersMethodfind_scope
Calculates the scope of all descendants of this node.
src/scheduling/schedule_tree.rs:523
↓ 4 callersFunctiongenerate_data
(n: i8)
src/scheduling/schedule_tree.rs:1444
↓ 4 callersMethodget_task
(&self, id: u32)
src/database/sqlite.rs:135
↓ 4 callersFunctioni32_to_datetime
(timestamp: i32)
src/database/sqlite.rs:410
↓ 3 callersMethodadd_time_segment
(&self, time_segment: CrateNewTimeSegment)
src/database/sqlite.rs:183
↓ 3 callersMethodall_tasks
(&self)
src/database/sqlite.rs:158
↓ 3 callersFunctionanytime
()
src/scheduling/mod.rs:393
↓ 3 callersMethoddelete_task
(&self, id: u32)
src/database/sqlite.rs:122
↓ 3 callersFunctiontest_task
()
src/database/sqlite.rs:574
↓ 3 callersFunctionunchecked_insert
Inserts a leaf node with given start, end and data in place of the right node of some other node `x`. The original right node of `x` becomes the right
src/scheduling/schedule_tree.rs:539
↓ 3 callersMethodupdate_map
(&mut self, start: T, data: Rc<D>)
src/scheduling/schedule_tree.rs:321
↓ 3 callersMethodwith_side_effects
(self, f: F)
src/util.rs:12
↓ 2 callersMethodall_tasks_per_time_segment
( &self, )
src/database/sqlite.rs:165
↓ 2 callersMethodas_str
(&self)
src/configuration.rs:30
↓ 2 callersMethodconstruct_time_segments
( &self, db_time_segments: Vec<TimeSegment>, )
src/database/sqlite.rs:300
↓ 2 callersFunctiondeadline
(datetime: &str)
eva-cli/src/parse.rs:65
↓ 2 callersFunctionduration
(duration_hours: &str)
eva-cli/src/parse.rs:47
↓ 2 callersFunctioni32_to_duration
(duration: i32)
src/database/sqlite.rs:406
↓ 2 callersFunctionid
(id_str: &str)
eva-cli/src/parse.rs:31
↓ 2 callersFunctionimportance
(importance_str: &str)
eva-cli/src/parse.rs:39
↓ 2 callersMethodimportance
(&self)
src/scheduling/mod.rs:34
↓ 2 callersMethodinsert
Tries to insert a node with given `start`, `end` and `data` as a descendant of this node. Returns the start of the scheduling if it succeeded, otherw
src/scheduling/schedule_tree.rs:337
↓ 2 callersMethodis_empty
(&self)
src/scheduling/schedule_tree.rs:60
↓ 2 callersFunctiontaskset_of_myrjam
()
src/scheduling/mod.rs:653
↓ 2 callersFunctiontest_time_segment
()
src/database/sqlite.rs:584
↓ 2 callersMethodupdate_task
(&self, task: crate::Task)
src/database/sqlite.rs:143
↓ 2 callersMethodupdate_time_segment
(&self, time_segment: CrateTimeSegment)
src/database/sqlite.rs:253
↓ 1 callersFunctionadd_task
(configuration: &Configuration, new_task: NewTask)
src/lib.rs:67
↓ 1 callersFunctioncli
(configuration: &Configuration)
eva-cli/src/main.rs:28
↓ 1 callersFunctionconnect_to_database
(path: &str)
eva-cli/src/configuration.rs:71
↓ 1 callersFunctiondefault_configuration
( project_dirs: &ProjectDirs, )
eva-cli/src/configuration.rs:46
↓ 1 callersFunctiondelete_task
(configuration: &Configuration, id: u32)
src/lib.rs:75
↓ 1 callersFunctiondispatch
(inputs: &ArgMatches, configuration: &Configuration)
eva-cli/src/main.rs:84
↓ 1 callersFunctionensure_exists
(path: &str)
eva-cli/src/configuration.rs:63
↓ 1 callersMethodgenerate_ranges
Generates all the time ranges that the time segment covers between the given start and end time.
src/time_segment.rs:42
↓ 1 callersFunctionget_task
(configuration: &Configuration, id: u32)
src/lib.rs:83
↓ 1 callersFunctionhandle_error
(error: &Error)
eva-cli/src/main.rs:148
↓ 1 callersMethodinverse
Construct the inverse of the time segment, i.e. the time segment made up of all time that the given time segment _doesn't_ cover.
src/time_segment.rs:13
↓ 1 callersFunctionread
()
eva-cli/src/configuration.rs:9
↓ 1 callersMethodremove_from_map
(&mut self, data: &'a D)
src/scheduling/schedule_tree.rs:317
↓ 1 callersFunctionrun
()
eva-cli/src/main.rs:22
↓ 1 callersFunctionschedule
(configuration: &Configuration, strategy: &str)
src/lib.rs:107
↓ 1 callersMethodschedule_according_to_importance
Schedules `tasks` according to importance while making sure all deadlines are met. First, all tasks --- starting with the least important until the m
src/scheduling/mod.rs:217
↓ 1 callersMethodschedule_according_to_myrjam
Schedules `tasks` according to deadline first and then according to importance. First, all tasks --- starting with the least important until the most
src/scheduling/mod.rs:292
↓ 1 callersMethodschedule_close_after_
See `schedule_close_after` for details. Returns the start of the scheduling if it succeeded, otherwise None
src/scheduling/schedule_tree.rs:190
↓ 1 callersMethodschedule_close_before_
See `schedule_close_before` for details. Returns the start of the scheduling if it succeeded, otherwise None
src/scheduling/schedule_tree.rs:118
↓ 1 callersMethodschedule_exact_
See `schedule_exact` for details. Returns the start of the scheduling if it succeeded, otherwise None
src/scheduling/schedule_tree.rs:81
↓ 1 callersFunctionset_field
(configuration: &Configuration, field: &str, id: u32, value: &str)
eva-cli/src/main.rs:136
↓ 1 callersFunctiontasks
(configuration: &Configuration)
src/lib.rs:99
↓ 1 callersFunctiontaskset_of_gandalf
()
src/scheduling/mod.rs:784
↓ 1 callersFunctionupdate_task
(configuration: &Configuration, task: Task)
src/lib.rs:91
↓ 1 callersMethodwhen_scheduled
(&self, data: &'a D)
src/scheduling/schedule_tree.rs:313
↓ 1 callersMethodwith_start
Returns a new time segment with its start and ranges shifted towards the given start time.
src/time_segment.rs:85
Functionadd_time_segment
( configuration: &Configuration, time_segment: time_segment::NewNamedTimeSegment, )
src/lib.rs:124
Methoddefault
()
src/scheduling/mod.rs:74
Functiondelete_time_segment
( configuration: &Configuration, time_segment: time_segment::NamedTimeSegment, )
src/lib.rs:135
Methodeq
(&self, other: &NewTask)
src/lib.rs:58
Methodeq
(&self, other: &NewNamedTimeSegment)
src/time_segment.rs:188
Methodeq
(&self, other: &Item<TaskT>)
src/scheduling/mod.rs:179
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
eva-cli/src/parse.rs:16
Methodfmt
(&self, f: &mut fmt::Formatter)
src/database/mod.rs:37
Methodfmt
(&self, f: &mut fmt::Formatter)
src/scheduling/mod.rs:350
Methodfrom
(task: crate::NewTask)
src/database/sqlite.rs:329
Methodfrom_tree
(tree: ScheduleTree<DateTime<Utc>, Item<TaskT>>)
src/scheduling/mod.rs:154
Functiongenerate_ranges_normal_cases
()
src/time_segment.rs:246
Methodinsert_after
Tries to insert a node with the given `data` and `duration` as a descendant of this node. It must be scheduled as close after `start` as possible, but
src/scheduling/schedule_tree.rs:404
Methodinsert_before
Tries to insert a node with the given `data` and `duration` as a descendant of this node. It must be scheduled as close before `end` as possible, but
src/scheduling/schedule_tree.rs:362
Functioninverse_base_cases
()
src/time_segment.rs:201
Functioninverse_normal_segment
()
src/time_segment.rs:219
Functionmain
()
eva-cli/src/main.rs:16
Functionnever
()
src/scheduling/mod.rs:403
Methodnew
Returns an empty schedule tree.
src/scheduling/schedule_tree.rs:45
Methodnext
(&mut self)
src/scheduling/schedule_tree.rs:615
Methodpartial_cmp
(&self, other: &Scheduled<TaskT>)
src/scheduling/mod.rs:62
Methodpretty_print
(&self)
eva-cli/src/pretty_print.rs:9
Methodschedule
Schedules tasks according to the given strategy, using the tasks' deadlines, importance and duration. Args: start: the moment when the first task can
src/scheduling/mod.rs:91
Functionschedule_for_myrjam
()
src/scheduling/mod.rs:711
Functionschedule_gandalfs_schedule_by_importance
()
src/scheduling/mod.rs:845
Functionschedule_myrjams_schedule_by_importance
()
src/scheduling/mod.rs:748
Methodschedule_within_segment
( start: DateTime<Utc>, tasks: impl IntoIterator<Item = TaskT>, segment: impl TimeSegm
src/scheduling/mod.rs:116
Functiontaskset_impossible_combination
(now: DateTime<Utc>)
src/scheduling/mod.rs:925
Functiontaskset_just_in_time
(now: DateTime<Utc>)
src/scheduling/mod.rs:694
Functiontaskset_with_impossible_deadline
()
src/scheduling/mod.rs:909
Functiontaskset_with_missed_deadline
()
src/scheduling/mod.rs:893
next →1–100 of 113, ranked by callers