Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Procrat/eva
/ functions
Functions
113 in github.com/Procrat/eva
⨍
Functions
113
◇
Types & classes
31
↓ 20 callers
Method
get_connection
( &self, )
src/database/sqlite.rs:292
↓ 14 callers
Method
ranges
(&self)
src/time_segment.rs:160
↓ 13 callers
Method
schedule_exact
(&mut self, start: T, duration: W, data: D)
src/scheduling/schedule_tree.rs:68
↓ 12 callers
Method
schedule_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 callers
Method
schedule_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 callers
Method
period
(&self)
src/time_segment.rs:168
↓ 10 callers
Method
unschedule
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 callers
Method
into_iter
(self)
src/scheduling/schedule_tree.rs:589
↓ 8 callers
Method
deadline
(&self)
src/scheduling/mod.rs:26
↓ 7 callers
Method
all_time_segments
(&self)
src/database/sqlite.rs:283
↓ 7 callers
Method
start
(&self)
src/time_segment.rs:164
↓ 6 callers
Method
duration
(&self)
src/scheduling/mod.rs:30
↓ 6 callers
Function
make_connection
(database_url: &str)
src/database/sqlite.rs:389
↓ 5 callers
Method
iter
Returns a chronological iterator of the schedule tree.
src/scheduling/schedule_tree.rs:54
↓ 4 callers
Method
add_task
(&self, task: crate::NewTask)
src/database/sqlite.rs:107
↓ 4 callers
Method
delete_time_segment
(&self, time_segment: CrateTimeSegment)
src/database/sqlite.rs:204
↓ 4 callers
Method
find_scope
Calculates the scope of all descendants of this node.
src/scheduling/schedule_tree.rs:523
↓ 4 callers
Function
generate_data
(n: i8)
src/scheduling/schedule_tree.rs:1444
↓ 4 callers
Method
get_task
(&self, id: u32)
src/database/sqlite.rs:135
↓ 4 callers
Function
i32_to_datetime
(timestamp: i32)
src/database/sqlite.rs:410
↓ 3 callers
Method
add_time_segment
(&self, time_segment: CrateNewTimeSegment)
src/database/sqlite.rs:183
↓ 3 callers
Method
all_tasks
(&self)
src/database/sqlite.rs:158
↓ 3 callers
Function
anytime
()
src/scheduling/mod.rs:393
↓ 3 callers
Method
delete_task
(&self, id: u32)
src/database/sqlite.rs:122
↓ 3 callers
Function
test_task
()
src/database/sqlite.rs:574
↓ 3 callers
Function
unchecked_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 callers
Method
update_map
(&mut self, start: T, data: Rc<D>)
src/scheduling/schedule_tree.rs:321
↓ 3 callers
Method
with_side_effects
(self, f: F)
src/util.rs:12
↓ 2 callers
Method
all_tasks_per_time_segment
( &self, )
src/database/sqlite.rs:165
↓ 2 callers
Method
as_str
(&self)
src/configuration.rs:30
↓ 2 callers
Method
construct_time_segments
( &self, db_time_segments: Vec<TimeSegment>, )
src/database/sqlite.rs:300
↓ 2 callers
Function
deadline
(datetime: &str)
eva-cli/src/parse.rs:65
↓ 2 callers
Function
duration
(duration_hours: &str)
eva-cli/src/parse.rs:47
↓ 2 callers
Function
i32_to_duration
(duration: i32)
src/database/sqlite.rs:406
↓ 2 callers
Function
id
(id_str: &str)
eva-cli/src/parse.rs:31
↓ 2 callers
Function
importance
(importance_str: &str)
eva-cli/src/parse.rs:39
↓ 2 callers
Method
importance
(&self)
src/scheduling/mod.rs:34
↓ 2 callers
Method
insert
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 callers
Method
is_empty
(&self)
src/scheduling/schedule_tree.rs:60
↓ 2 callers
Function
taskset_of_myrjam
()
src/scheduling/mod.rs:653
↓ 2 callers
Function
test_time_segment
()
src/database/sqlite.rs:584
↓ 2 callers
Method
update_task
(&self, task: crate::Task)
src/database/sqlite.rs:143
↓ 2 callers
Method
update_time_segment
(&self, time_segment: CrateTimeSegment)
src/database/sqlite.rs:253
↓ 1 callers
Function
add_task
(configuration: &Configuration, new_task: NewTask)
src/lib.rs:67
↓ 1 callers
Function
cli
(configuration: &Configuration)
eva-cli/src/main.rs:28
↓ 1 callers
Function
connect_to_database
(path: &str)
eva-cli/src/configuration.rs:71
↓ 1 callers
Function
default_configuration
( project_dirs: &ProjectDirs, )
eva-cli/src/configuration.rs:46
↓ 1 callers
Function
delete_task
(configuration: &Configuration, id: u32)
src/lib.rs:75
↓ 1 callers
Function
dispatch
(inputs: &ArgMatches, configuration: &Configuration)
eva-cli/src/main.rs:84
↓ 1 callers
Function
ensure_exists
(path: &str)
eva-cli/src/configuration.rs:63
↓ 1 callers
Method
generate_ranges
Generates all the time ranges that the time segment covers between the given start and end time.
src/time_segment.rs:42
↓ 1 callers
Function
get_task
(configuration: &Configuration, id: u32)
src/lib.rs:83
↓ 1 callers
Function
handle_error
(error: &Error)
eva-cli/src/main.rs:148
↓ 1 callers
Method
inverse
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 callers
Function
read
()
eva-cli/src/configuration.rs:9
↓ 1 callers
Method
remove_from_map
(&mut self, data: &'a D)
src/scheduling/schedule_tree.rs:317
↓ 1 callers
Function
run
()
eva-cli/src/main.rs:22
↓ 1 callers
Function
schedule
(configuration: &Configuration, strategy: &str)
src/lib.rs:107
↓ 1 callers
Method
schedule_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 callers
Method
schedule_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 callers
Method
schedule_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 callers
Method
schedule_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 callers
Method
schedule_exact_
See `schedule_exact` for details. Returns the start of the scheduling if it succeeded, otherwise None
src/scheduling/schedule_tree.rs:81
↓ 1 callers
Function
set_field
(configuration: &Configuration, field: &str, id: u32, value: &str)
eva-cli/src/main.rs:136
↓ 1 callers
Function
tasks
(configuration: &Configuration)
src/lib.rs:99
↓ 1 callers
Function
taskset_of_gandalf
()
src/scheduling/mod.rs:784
↓ 1 callers
Function
update_task
(configuration: &Configuration, task: Task)
src/lib.rs:91
↓ 1 callers
Method
when_scheduled
(&self, data: &'a D)
src/scheduling/schedule_tree.rs:313
↓ 1 callers
Method
with_start
Returns a new time segment with its start and ranges shifted towards the given start time.
src/time_segment.rs:85
Function
add_time_segment
( configuration: &Configuration, time_segment: time_segment::NewNamedTimeSegment, )
src/lib.rs:124
Method
default
()
src/scheduling/mod.rs:74
Function
delete_time_segment
( configuration: &Configuration, time_segment: time_segment::NamedTimeSegment, )
src/lib.rs:135
Method
eq
(&self, other: &NewTask)
src/lib.rs:58
Method
eq
(&self, other: &NewNamedTimeSegment)
src/time_segment.rs:188
Method
eq
(&self, other: &Item<TaskT>)
src/scheduling/mod.rs:179
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
eva-cli/src/parse.rs:16
Method
fmt
(&self, f: &mut fmt::Formatter)
src/database/mod.rs:37
Method
fmt
(&self, f: &mut fmt::Formatter)
src/scheduling/mod.rs:350
Method
from
(task: crate::NewTask)
src/database/sqlite.rs:329
Method
from_tree
(tree: ScheduleTree<DateTime<Utc>, Item<TaskT>>)
src/scheduling/mod.rs:154
Function
generate_ranges_normal_cases
()
src/time_segment.rs:246
Method
insert_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
Method
insert_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
Function
inverse_base_cases
()
src/time_segment.rs:201
Function
inverse_normal_segment
()
src/time_segment.rs:219
Function
main
()
eva-cli/src/main.rs:16
Function
never
()
src/scheduling/mod.rs:403
Method
new
Returns an empty schedule tree.
src/scheduling/schedule_tree.rs:45
Method
next
(&mut self)
src/scheduling/schedule_tree.rs:615
Method
partial_cmp
(&self, other: &Scheduled<TaskT>)
src/scheduling/mod.rs:62
Method
pretty_print
(&self)
eva-cli/src/pretty_print.rs:9
Method
schedule
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
Function
schedule_for_myrjam
()
src/scheduling/mod.rs:711
Function
schedule_gandalfs_schedule_by_importance
()
src/scheduling/mod.rs:845
Function
schedule_myrjams_schedule_by_importance
()
src/scheduling/mod.rs:748
Method
schedule_within_segment
( start: DateTime<Utc>, tasks: impl IntoIterator<Item = TaskT>, segment: impl TimeSegm
src/scheduling/mod.rs:116
Function
taskset_impossible_combination
(now: DateTime<Utc>)
src/scheduling/mod.rs:925
Function
taskset_just_in_time
(now: DateTime<Utc>)
src/scheduling/mod.rs:694
Function
taskset_with_impossible_deadline
()
src/scheduling/mod.rs:909
Function
taskset_with_missed_deadline
()
src/scheduling/mod.rs:893
next →
1–100 of 113, ranked by callers