SYMBOL INDEX (2070 symbols across 177 files) FILE: build.rs function main (line 4) | fn main() { function embedded_assets_main (line 15) | fn embedded_assets_main() { FILE: build/embedded_assets.rs function build_static_assets (line 9) | pub fn build_static_assets(out_dir: &Path) { function find_app_directory (line 72) | pub fn find_app_directory(out_dir: &Path) -> Option { function discover_all_directories (line 90) | pub fn discover_all_directories(app_root: &Path) -> Vec { function recursively_collect_directories (line 113) | pub fn recursively_collect_directories( function collect_all_files (line 138) | pub fn collect_all_files(dir: &Path, assets_dir: &Path, all_files: &mut ... function generate_asset_code (line 181) | pub fn generate_asset_code( function generate_empty_asset_files (line 396) | pub fn generate_empty_asset_files(output_path: &Path) -> io::Result<()> { FILE: docs-site/static/js/search.js function inputFocus (line 6) | function inputFocus(e) { function suggestionFocus (line 39) | function suggestionFocus(e) { function show_results (line 75) | function show_results() { function accept_suggestion (line 114) | function accept_suggestion() { function makeTeaser (line 134) | function makeTeaser(body, terms) { function substringByByte (line 251) | function substringByByte(str, maxLength) { function getByteByBinary (line 305) | function getByteByBinary(binaryCode) { function getByteByHex (line 315) | function getByteByHex(hexCode) { FILE: loco-cli/src/bin/main.rs function main (line 1) | fn main() { FILE: loco-gen/src/controller.rs function generate (line 7) | pub fn generate( FILE: loco-gen/src/infer.rs type MigrationType (line 6) | pub enum MigrationType { type FieldType (line 15) | pub enum FieldType { function parse_field_type (line 24) | pub fn parse_field_type(ftype: &str) -> Result { function guess_migration_type (line 42) | pub fn guess_migration_type(migration_name: &str) -> MigrationType { function test_infer_create_table (line 86) | fn test_infer_create_table() { function test_infer_add_columns (line 96) | fn test_infer_add_columns() { function test_infer_remove_columns (line 106) | fn test_infer_remove_columns() { function test_infer_add_reference (line 116) | fn test_infer_add_reference() { function test_infer_create_join_table (line 126) | fn test_infer_create_join_table() { function test_infer_create_join_table_with_underscores (line 137) | fn test_infer_create_join_table_with_underscores() { function test_infer_create_join_table_complex_names (line 149) | fn test_infer_create_join_table_complex_names() { function test_infer_create_join_table_mixed_names (line 161) | fn test_infer_create_join_table_mixed_names() { function test_empty_migration (line 173) | fn test_empty_migration() { function test_infer_create_join_table_no_and_separator (line 181) | fn test_infer_create_join_table_no_and_separator() { function test_infer_create_join_table_empty_after_and (line 190) | fn test_infer_create_join_table_empty_after_and() { function test_infer_create_join_table_empty_before_and (line 199) | fn test_infer_create_join_table_empty_before_and() { function test_infer_create_join_table_multiple_ands (line 208) | fn test_infer_create_join_table_multiple_ands() { FILE: loco-gen/src/lib.rs type GenerateResults (line 32) | pub struct GenerateResults { type Error (line 38) | pub enum Error { method msg (line 52) | pub fn msg(err: impl std::error::Error + Send + Sync + 'static) -> Self { type Result (line 57) | pub type Result = std::result::Result; type FieldType (line 60) | struct FieldType { type RustType (line 71) | pub enum RustType { type Mappings (line 77) | pub struct Mappings { method error_unrecognized_default_field (line 81) | fn error_unrecognized_default_field(&self, field: &str) -> Error { method error_unrecognized (line 85) | fn error_unrecognized(field: &str, allow_fields: &[&String]) -> Error { method rust_field_with_params (line 102) | pub fn rust_field_with_params(&self, field: &str, params: &Vec... method rust_field_kind (line 130) | pub fn rust_field_kind(&self, field: &str) -> Result<&RustType> { method rust_field (line 143) | pub fn rust_field(&self, field: &str) -> Result<&str> { method schema_field (line 163) | pub fn schema_field(&self, field: &str) -> Result<&str> { method col_type_field (line 176) | pub fn col_type_field(&self, field: &str) -> Result<&str> { method col_type_arity (line 189) | pub fn col_type_arity(&self, field: &str) -> Result { method all_names (line 198) | pub fn all_names(&self) -> Vec<&String> { function get_mappings (line 210) | pub fn get_mappings() -> &'static Mappings { type ScaffoldKind (line 218) | pub enum ScaffoldKind { type DeploymentKind (line 225) | pub enum DeploymentKind { type Component (line 237) | pub enum Component { type AppInfo (line 306) | pub struct AppInfo { function new_generator (line 311) | pub fn new_generator() -> RRgen { function generate (line 320) | pub fn generate(rrgen: &RRgen, component: Component, appinfo: &AppInfo) ... function render_template (line 400) | fn render_template(rrgen: &RRgen, template: &Path, vars: &Value) -> Resu... function collect_messages (line 431) | pub fn collect_messages(results: &GenerateResults) -> String { function copy_template (line 467) | pub fn copy_template(path: &Path, to: &Path) -> Result> { function test_template_not_found (line 523) | fn test_template_not_found() { function test_copy_template_valid_folder_template (line 540) | fn test_copy_template_valid_folder_template() { function test_mapping (line 584) | fn test_mapping() -> Mappings { function can_get_all_names_from_mapping (line 610) | fn can_get_all_names_from_mapping() { function can_get_col_type_arity_from_mapping (line 619) | fn can_get_col_type_arity_from_mapping() { function can_get_col_type_field_from_mapping (line 634) | fn can_get_col_type_field_from_mapping() { function can_get_schema_field_from_mapping (line 646) | fn can_get_schema_field_from_mapping() { function can_get_rust_field_from_mapping (line 658) | fn can_get_rust_field_from_mapping() { function can_get_rust_field_kind_from_mapping (line 674) | fn can_get_rust_field_kind_from_mapping() { function can_get_rust_field_with_params_from_mapping (line 683) | fn can_get_rust_field_with_params_from_mapping() { function can_collect_messages (line 707) | fn can_collect_messages() { FILE: loco-gen/src/migration.rs constant IGNORE_FIELDS (line 14) | pub const IGNORE_FIELDS: &[&str] = &["created_at", "updated_at", "create... function generate (line 16) | pub fn generate( FILE: loco-gen/src/model.rs constant IGNORE_FIELDS (line 16) | pub const IGNORE_FIELDS: &[&str] = &["created_at", "updated_at", "create... function get_columns_and_references (line 23) | pub fn get_columns_and_references( function generate (line 99) | pub fn generate( function to_field (line 148) | fn to_field(name: &str, field_type: &str) -> (String, String) { function test_get_columns_with_field_types (line 153) | fn test_get_columns_with_field_types() { function test_get_columns_with_array_types (line 171) | fn test_get_columns_with_array_types() { function test_get_references_from_fields (line 190) | fn test_get_references_from_fields() { function test_ignore_fields_are_filtered_out (line 204) | fn test_ignore_fields_are_filtered_out() { function validate_arity (line 220) | fn validate_arity() { FILE: loco-gen/src/scaffold.rs function generate (line 11) | pub fn generate( FILE: loco-gen/src/template.rs constant DEFAULT_LOCAL_TEMPLATE (line 8) | pub const DEFAULT_LOCAL_TEMPLATE: &str = ".loco-templates"; function get_ignored_paths (line 12) | pub fn get_ignored_paths() -> Vec<&'static Path> { function exists (line 25) | pub fn exists(path: &Path) -> bool { function is_path_ignored (line 32) | fn is_path_ignored(path: &Path, ignored_paths: &[&Path]) -> bool { function collect (line 40) | pub fn collect() -> Vec { function collect_files (line 46) | pub fn collect_files() -> Vec<&'static File<'static>> { function collect_files_path (line 54) | pub fn collect_files_path(path: &Path) -> Result> { function collect_files_from_path (line 72) | pub fn collect_files_from_path(path: &Path) -> Result>> { function collect_files_path_recursively (line 88) | fn collect_files_path_recursively(dir: &Dir<'_>) -> Vec { function collect_files_recursively (line 105) | fn collect_files_recursively<'a>(dir: &'a Dir<'a>) -> Vec<&'a File<'a>> { function find_first_dir (line 133) | pub fn find_first_dir() -> &'static Dir<'static> { function find_first_file (line 139) | pub fn find_first_file<'a>(dir: &'a Dir<'a>) -> Option<&'a File<'a>> { function test_get_ignored_paths (line 154) | fn test_get_ignored_paths() { function test_exists (line 169) | fn test_exists() { function test_collect (line 183) | fn test_collect() { function test_collect_files (line 192) | fn test_collect_files() { function test_is_path_ignored (line 201) | fn test_is_path_ignored() { FILE: loco-gen/src/tera_ext.rs function new (line 6) | pub fn new() -> Tera { constant DEFAULT_INPUT_CLASS (line 13) | const DEFAULT_INPUT_CLASS: &str = "flex h-9 w-full rounded-md border bor... type FormField (line 15) | struct FormField; method call (line 20) | fn call(&self, args: &HashMap) -> tera::Result { method is_safe (line 279) | fn is_safe(&self) -> bool { type ViewField (line 16) | struct ViewField; method call (line 346) | fn call(&self, args: &HashMap) -> tera::Result { method is_safe (line 385) | fn is_safe(&self) -> bool { function input_group (line 284) | fn input_group(fname: &str, create_input: &str, edit_input: &str) -> Str... function input_string (line 299) | fn input_string( function input_number (line 313) | fn input_number( function input_description (line 338) | fn input_description>(description: S) -> String { function can_render_form_field (line 398) | fn can_render_form_field() { function can_render_view_field (line 447) | fn can_render_view_field() { FILE: loco-gen/src/testutil.rs type FileContent (line 16) | pub struct FileContent { method from_file (line 22) | pub fn from_file(file_path: &str) -> Result> { method check_contains (line 28) | pub fn check_contains(&self, pattern: &str) -> Result<(), Box Result<(), Box Result<(), Box Result<(), Box Result<(), Box> { method assert_syntax (line 105) | pub fn assert_syntax(&self) { function check_file (line 111) | pub fn check_file(file_path: &str, assertions: F) -> Result<(), Box(file_path: &str, assertions: F) function check_no_warnings (line 132) | pub fn check_no_warnings() -> Result<(), Box> { function assert_no_warnings (line 146) | pub fn assert_no_warnings() { function check_cargo_check (line 150) | pub fn check_cargo_check() -> Result<(), Box> { function assert_cargo_check (line 163) | pub fn assert_cargo_check() { function check_file_not_exists (line 167) | pub fn check_file_not_exists(file_path: &str) -> Result<(), Box Result<(), Box Result<(), Box>( function assert_single_file_match (line 240) | pub fn assert_single_file_match>(dir: P, pattern: &str) -... function with_temp_dir (line 244) | pub fn with_temp_dir(f: F) -> Result<(), Box> FILE: loco-gen/tests/db.rs function test_migrations_flow (line 10) | fn test_migrations_flow(#[values("postgres", "sqlite")] db_kind: &str) { FILE: loco-gen/tests/templates/controller.rs function can_generate (line 13) | fn can_generate(#[case] kind: ScaffoldKind) { FILE: loco-gen/tests/templates/deployment.rs function can_generate_docker (line 7) | fn can_generate_docker( function can_generate_nginx (line 69) | fn can_generate_nginx() { FILE: loco-gen/tests/templates/mailer.rs function can_generate (line 7) | fn can_generate() { FILE: loco-gen/tests/templates/migration.rs function can_generate (line 70) | fn can_generate( function fail_when_migration_lib_not_exists (line 169) | fn fail_when_migration_lib_not_exists(#[case] component: Component) { FILE: loco-gen/tests/templates/model.rs function can_generate (line 17) | fn can_generate() { function fail_when_migration_lib_not_exists (line 80) | fn fail_when_migration_lib_not_exists() { function fail_when_test_models_mod_not_exists (line 111) | fn fail_when_test_models_mod_not_exists() { FILE: loco-gen/tests/templates/scaffold.rs function can_generate (line 13) | fn can_generate(#[case] kind: ScaffoldKind) { FILE: loco-gen/tests/templates/scheduler.rs function can_generate (line 15) | fn can_generate() { FILE: loco-gen/tests/templates/task.rs function can_generate (line 17) | fn can_generate() { FILE: loco-gen/tests/templates/utils.rs constant MIGRATION_SRC_LIB (line 4) | pub const MIGRATION_SRC_LIB: &str = r" constant APP_ROUTS (line 23) | pub const APP_ROUTS: &str = r" constant APP_TASK (line 32) | pub const APP_TASK: &str = r" constant APP_WORKER (line 40) | pub const APP_WORKER: &str = r" function guess_file_by_time (line 47) | pub fn guess_file_by_time(path: &Path, file_format: &str, max_attempts: ... FILE: loco-gen/tests/templates/worker.rs function can_generate (line 17) | fn can_generate() { FILE: loco-new/base_template/migration/src/m20220101_000001_users.rs type Migration (line 5) | pub struct Migration; method up (line 9) | async fn up(&self, m: &SchemaManager) -> Result<(), DbErr> { method down (line 37) | async fn down(&self, m: &SchemaManager) -> Result<(), DbErr> { FILE: loco-new/base_template/src/controllers/auth.rs function get_allow_email_domain_re (line 16) | fn get_allow_email_domain_re() -> &'static Regex { type ForgotParams (line 23) | pub struct ForgotParams { type ResetParams (line 28) | pub struct ResetParams { type MagicLinkParams (line 34) | pub struct MagicLinkParams { type ResendVerificationParams (line 39) | pub struct ResendVerificationParams { function register (line 46) | async fn register( function verify (line 77) | async fn verify(State(ctx): State, Path(token): Path... function forgot (line 98) | async fn forgot( function reset (line 120) | async fn reset(State(ctx): State, Json(params): Json, Json(params): Json) -> Resu... function magic_link (line 181) | async fn magic_link( function magic_link_verify (line 208) | async fn magic_link_verify( function resend_verification_email (line 230) | async fn resend_verification_email( function routes (line 261) | pub fn routes() -> Routes { FILE: loco-new/base_template/src/controllers/home.rs function current (line 6) | async fn current() -> Result { function routes (line 10) | pub fn routes() -> Routes { FILE: loco-new/base_template/src/initializers/view_engine.rs constant I18N_DIR (line 11) | const I18N_DIR: &str = "assets/i18n"; constant I18N_SHARED (line 12) | const I18N_SHARED: &str = "assets/i18n/shared.ftl"; type ViewEngineInitializer (line 14) | pub struct ViewEngineInitializer; method name (line 18) | fn name(&self) -> String { method after_routes (line 22) | async fn after_routes(&self, router: AxumRouter, _ctx: &AppContext) -> R... FILE: loco-new/base_template/src/mailers/auth.rs type AuthMailer (line 14) | pub struct AuthMailer {} method send_welcome (line 22) | pub async fn send_welcome(ctx: &AppContext, user: &users::Model) -> Re... method forgot_password (line 46) | pub async fn forgot_password(ctx: &AppContext, user: &users::Model) ->... method send_magic_link (line 70) | pub async fn send_magic_link(ctx: &AppContext, user: &users::Model) ->... FILE: loco-new/base_template/src/models/_entities/users.rs type Model (line 8) | pub struct Model { type Relation (line 30) | pub enum Relation {} FILE: loco-new/base_template/src/models/users.rs constant MAGIC_LINK_LENGTH (line 10) | pub const MAGIC_LINK_LENGTH: i8 = 32; constant MAGIC_LINK_EXPIRATION_MIN (line 11) | pub const MAGIC_LINK_EXPIRATION_MIN: i8 = 5; type LoginParams (line 14) | pub struct LoginParams { type RegisterParams (line 20) | pub struct RegisterParams { type Validator (line 27) | pub struct Validator { method validator (line 35) | fn validator(&self) -> Box { method before_save (line 45) | async fn before_save(self, _db: &C, insert: bool) -> Result method find_by_api_key (line 63) | async fn find_by_api_key(db: &DatabaseConnection, api_key: &str) -> Mode... method find_by_claims_key (line 67) | async fn find_by_claims_key(db: &DatabaseConnection, claims_key: &str) -... method find_by_email (line 78) | pub async fn find_by_email(db: &DatabaseConnection, email: &str) -> Mode... method find_by_verification_token (line 95) | pub async fn find_by_verification_token( method find_by_magic_token (line 115) | pub async fn find_by_magic_token(db: &DatabaseConnection, token: &str) -... method find_by_reset_token (line 151) | pub async fn find_by_reset_token(db: &DatabaseConnection, token: &str) -... method find_by_pid (line 168) | pub async fn find_by_pid(db: &DatabaseConnection, pid: &str) -> ModelRes... method find_by_api_key (line 186) | pub async fn find_by_api_key(db: &DatabaseConnection, api_key: &str) -> ... method verify_password (line 204) | pub fn verify_password(&self, password: &str) -> bool { method create_with_password (line 214) | pub async fn create_with_password( method generate_jwt (line 254) | pub fn generate_jwt(&self, secret: &str, expiration: u64) -> ModelResult... method set_email_verification_sent (line 271) | pub async fn set_email_verification_sent( method set_forgot_password_sent (line 292) | pub async fn set_forgot_password_sent(mut self, db: &DatabaseConnection)... method verified (line 307) | pub async fn verified(mut self, db: &DatabaseConnection) -> ModelResult<... method reset_password (line 321) | pub async fn reset_password( method create_magic_link (line 340) | pub async fn create_magic_link(mut self, db: &DatabaseConnection) -> Mod... method clear_magic_link (line 356) | pub async fn clear_magic_link(mut self, db: &DatabaseConnection) -> Mode... FILE: loco-new/base_template/src/tasks/user_create.rs type UserCreate (line 8) | pub struct UserCreate; method task (line 11) | fn task(&self) -> TaskInfo { method run (line 17) | async fn run(&self, app_context: &AppContext, vars: &task::Vars) -> Resu... FILE: loco-new/base_template/src/views/auth.rs type LoginResponse (line 6) | pub struct LoginResponse { method new (line 15) | pub fn new(user: &users::Model, token: &str) -> Self { type CurrentResponse (line 26) | pub struct CurrentResponse { method new (line 34) | pub fn new(user: &users::Model) -> Self { FILE: loco-new/base_template/src/views/home.rs type HomeResponse (line 14) | pub struct HomeResponse { method new (line 5) | pub fn new(app_name: &str) -> Self { FILE: loco-new/base_template/src/workers/downloader.rs type DownloadWorker (line 4) | pub struct DownloadWorker { method build (line 15) | fn build(ctx: &AppContext) -> Self { method perform (line 18) | async fn perform(&self, _args: DownloadWorkerArgs) -> Result<()> { type DownloadWorkerArgs (line 9) | pub struct DownloadWorkerArgs { FILE: loco-new/src/bin/main.rs type Cli (line 21) | struct Cli { type Commands (line 31) | enum Commands { constant DEFAULT_OS (line 65) | const DEFAULT_OS: &str = "linux"; constant DEFAULT_OS (line 67) | const DEFAULT_OS: &str = "windows"; function main (line 70) | fn main() -> Result<()> { function is_a_git_repo (line 183) | pub fn is_a_git_repo(destination_path: &Path) -> Result { type CmdExit (line 207) | pub struct CmdExit { method error_with_message (line 214) | pub fn error_with_message>(msg: S) -> Self { method ok_with_message (line 222) | pub fn ok_with_message>(msg: S) -> Self { method exit (line 229) | pub fn exit(&self) { FILE: loco-new/src/generator/executer/filesystem.rs type FileSystem (line 10) | pub struct FileSystem { method new (line 18) | pub fn new(from: &Path, to: &Path) -> Self { method with_template_engine (line 27) | pub fn with_template_engine( method render_and_rename_template_file (line 39) | fn render_and_rename_template_file( method copy_file (line 67) | fn copy_file(&self, path: &Path) -> super::Result { method create_file (line 88) | fn create_file(&self, path: &Path, content: String) -> super::Result super::Result<()> { method copy_template (line 124) | fn copy_template(&self, file_path: &Path, settings: &Settings) -> super:... method copy_template_dir (line 140) | fn copy_template_dir(&self, directory_path: &Path, settings: &Settings) ... function init_filesystem (line 176) | fn init_filesystem() -> (FileSystem, tree_fs::Tree) { function can_copy_file (line 190) | fn can_copy_file() { function can_copy_dir (line 203) | fn can_copy_dir() { function can_copy_template (line 223) | fn can_copy_template() { function can_copy_template_dir (line 243) | fn can_copy_template_dir() { FILE: loco-new/src/generator/executer/inmem.rs type Inmem (line 10) | pub struct Inmem { method new (line 18) | pub fn new(source: &Path) -> Self { method with_template_engine (line 23) | pub fn with_template_engine( method get_file_content (line 34) | pub fn get_file_content(&self, path: &Path) -> Option { method copy_file (line 43) | fn copy_file(&self, file_path: &Path) -> super::Result { method create_file (line 52) | fn create_file(&self, path: &Path, content: String) -> super::Result super::Result<()> { method copy_template (line 69) | fn copy_template(&self, file_path: &Path, settings: &Settings) -> super:... method copy_template_dir (line 93) | fn copy_template_dir(&self, _path: &Path, _data: &Settings) -> super::Re... function init_in_memory_store (line 104) | fn init_in_memory_store() -> (Inmem, Tree) { function can_copy_file (line 115) | fn can_copy_file() { function test_copy_directory (line 134) | fn test_copy_directory() { function can_copy_template_file (line 154) | fn can_copy_template_file() { FILE: loco-new/src/generator/executer/mod.rs type Result (line 13) | pub type Result = std::result::Result; type Error (line 16) | pub enum Error { method msg (line 31) | pub fn msg>(msg: S) -> Self { type Executer (line 37) | pub trait Executer: Send + Sync { method copy_file (line 44) | fn copy_file(&self, path: &Path) -> Result; method create_file (line 52) | fn create_file(&self, path: &Path, content: String) -> Result; method copy_dir (line 60) | fn copy_dir(&self, path: &Path) -> Result<()>; method copy_template (line 68) | fn copy_template(&self, path: &Path, data: &Settings) -> Result<()>; method copy_template_dir (line 77) | fn copy_template_dir(&self, path: &Path, data: &Settings) -> Result<()>; FILE: loco-new/src/generator/mod.rs function extract_default_template (line 29) | pub fn extract_default_template() -> std::io::Result { type Generator (line 40) | pub struct Generator { method new (line 46) | pub fn new(executer: Arc, settings: settings::... method run (line 55) | pub fn run(&self) -> crate::Result<()> { method run_from_script (line 64) | pub fn run_from_script(&self, script: &str) -> crate::Result<()> { method copy_file (line 111) | pub fn copy_file(&mut self, path: &str) -> Result<(), Box Result<(), Box Result<(), Box Result<(), Box Result<(), Box Result<(), Box b... function is_server_side (line 259) | pub const fn is_server_side(rendering_method: &mut settings::Asset) -> b... function can_copy_file (line 272) | pub fn can_copy_file() { function can_copy_files (line 288) | pub fn can_copy_files() { function can_copy_dir (line 317) | pub fn can_copy_dir() { function can_copy_dirs (line 333) | pub fn can_copy_dirs() { function can_copy_template (line 361) | pub fn can_copy_template() { function can_copy_template_dir (line 377) | pub fn can_copy_template_dir() { FILE: loco-new/src/generator/template.rs constant TEMPLATE_EXTENSION (line 14) | const TEMPLATE_EXTENSION: &str = "t"; function generate_random_string (line 16) | fn generate_random_string(rng: &mut R, length: u64) -> String { type Template (line 24) | pub struct Template { method new (line 42) | pub fn new(rng: StdRng) -> Self { method is_template (line 52) | pub fn is_template(&self, path: &Path) -> bool { method register_filters (line 60) | fn register_filters(&self, tera_instance: &mut tera::Tera) { method render (line 89) | pub fn render(&self, template_content: &str, settings: &Settings) -> t... method strip_template_extension (line 111) | pub fn strip_template_extension(&self, path: &Path) -> std::io::Result... method default (line 29) | fn default() -> Self { function test_is_template (line 136) | fn test_is_template() { function test_render_template (line 150) | fn test_render_template() { function test_strip_template_extension (line 165) | fn test_strip_template_extension() { function can_create_random_string (line 184) | fn can_create_random_string() { FILE: loco-new/src/lib.rs type Result (line 9) | pub type Result = std::result::Result; constant LOCO_VERSION (line 12) | pub const LOCO_VERSION: &str = "0.16"; type Error (line 15) | pub enum Error { method msg (line 35) | pub fn msg>(msg: S) -> Self { type OS (line 41) | pub enum OS { FILE: loco-new/src/settings.rs type Settings (line 17) | pub struct Settings { method from_wizard (line 61) | pub fn from_wizard(package_name: &str, prompt_selection: &wizard::Sele... function from (line 32) | fn from(db_option: DBOption) -> Self { function from (line 44) | fn from(bg: BackgroundOption) -> Self { function from (line 50) | fn from(asset: AssetsOption) -> Self { method default (line 92) | fn default() -> Self { function get_loco_version_text (line 110) | fn get_loco_version_text() -> String { type Db (line 122) | pub struct Db { type Background (line 129) | pub struct Background { type Asset (line 135) | pub struct Asset { type Initializers (line 140) | pub struct Initializers { type Features (line 146) | pub struct Features { method disable_features (line 163) | pub fn disable_features() -> Self { method default (line 152) | fn default() -> Self { FILE: loco-new/src/wizard.rs type Template (line 15) | pub enum Template { type OptionsList (line 30) | pub enum OptionsList { type DBOption (line 42) | pub enum DBOption { method enable (line 54) | pub const fn enable(&self) -> bool { method user_message (line 59) | pub fn user_message(&self) -> Option { method endpoint_config (line 72) | pub const fn endpoint_config(&self) -> &str { type BackgroundOption (line 84) | pub enum BackgroundOption { method user_message (line 99) | pub fn user_message(&self) -> Option { method prompt_view (line 118) | pub const fn prompt_view(&self) -> &str { type AssetsOption (line 130) | pub enum AssetsOption { method enable (line 145) | pub const fn enable(&self) -> bool { method user_message (line 150) | pub fn user_message(&self) -> Option { type ArgsPlaceholder (line 166) | pub struct ArgsPlaceholder { type Selections (line 173) | pub struct Selections { method message (line 181) | pub fn message(&self) -> Vec { function app_name (line 201) | pub fn app_name(name: Option) -> crate::Result { function warn_if_in_git_repo (line 227) | pub fn warn_if_in_git_repo() -> crate::Result<()> { function validate_app_name (line 243) | fn validate_app_name(app_name: &str) -> Result<(), &str> { function select_option (line 271) | fn select_option(text: &str, options: &[T]) -> crate::Result function start (line 287) | pub fn start(args: &ArgsPlaceholder) -> crate::Result { function select_db (line 338) | fn select_db(args: &ArgsPlaceholder) -> crate::Result { function select_background (line 352) | fn select_background( function select_asset (line 370) | fn select_asset(args: &ArgsPlaceholder) -> crate::Result { FILE: loco-new/tests/assertion/string.rs function load (line 7) | pub fn load(path: PathBuf) -> String { function assert_line_regex (line 11) | pub fn assert_line_regex(content: &str, expected: &str) { function assert_str_not_exists (line 23) | pub fn assert_str_not_exists(content: &str, expected: &str) { function assert_contains (line 32) | pub fn assert_contains(content: &str, expected: &str) { function assert_not_contains (line 43) | pub fn assert_not_contains(content: &str, unexpected: &str) { FILE: loco-new/tests/assertion/toml.rs function load (line 7) | pub fn load(path: PathBuf) -> toml::Value { function assert_path_value_eq_string (line 12) | pub fn assert_path_value_eq_string(toml: &Value, path: &[&str], expected... function eq_path_value_eq_bool (line 17) | pub fn eq_path_value_eq_bool(toml: &Value, path: &[&str], expected: bool) { function assert_path_is_empty_array (line 22) | pub fn assert_path_is_empty_array(toml: &Value, path: &[&str]) { function assert_path_value_eq_array (line 37) | pub fn assert_path_value_eq_array(toml: &Value, path: &[&str], expected:... function assert_path_value_eq (line 44) | pub fn assert_path_value_eq(toml: &Value, path: &[&str], expected: &Valu... function assert_path_is_object (line 55) | pub fn assert_path_is_object(toml: &Value, path: &[&str]) { function get_keys_concatenated_as_string (line 65) | pub fn get_keys_concatenated_as_string(toml: &Value, path: &[&str]) -> O... function assert_path_is_empty (line 80) | pub fn assert_path_is_empty(toml: &Value, path: &[&str]) { function assert_path_exists (line 94) | pub fn assert_path_exists(toml: &Value, path: &[&str]) { function get_value_at_path (line 106) | pub fn get_value_at_path<'a>(toml: &'a Value, path: &[&str]) -> Option<&... FILE: loco-new/tests/assertion/yaml.rs function load (line 7) | pub fn load(path: PathBuf) -> serde_yaml::Value { function assert_path_value_eq_string (line 13) | pub fn assert_path_value_eq_string(yml: &Value, path: &[&str], expected:... function assert_path_value_eq_bool (line 20) | pub fn assert_path_value_eq_bool(yml: &Value, path: &[&str], expected: b... function assert_path_value_eq_int (line 27) | pub fn assert_path_value_eq_int(yml: &Value, path: &[&str], expected: i6... function assert_path_value_eq_float (line 32) | pub fn assert_path_value_eq_float(yml: &Value, path: &[&str], expected: ... function assert_path_key_count (line 39) | pub fn assert_path_key_count(yml: &Value, path: &[&str], expected_count:... function assert_path_value_eq (line 56) | pub fn assert_path_value_eq(yml: &Value, path: &[&str], expected: &Value) { function assert_path_is_object (line 75) | pub fn assert_path_is_object(yml: &Value, path: &[&str]) { function get_keys_concatenated_as_string (line 85) | pub fn get_keys_concatenated_as_string(yml: &Value, path: &[&str]) -> Op... function assert_path_is_empty (line 102) | pub fn assert_path_is_empty(yml: &Value, path: &[&str]) { function assert_path_value_eq_mapping (line 118) | pub fn assert_path_value_eq_mapping(yml: &Value, path: &[&str], expected... function get_value_at_path (line 130) | pub fn get_value_at_path<'a>(yml: &'a Value, path: &[&str]) -> Option<&'... FILE: loco-new/tests/templates/asset.rs function run_generator (line 7) | pub fn run_generator(asset: AssetsOption) -> TestGenerator { function test_config_file_middleware_when_asset_empty (line 17) | fn test_config_file_middleware_when_asset_empty( function test_config_file_middleware_asset_server (line 27) | fn test_config_file_middleware_asset_server( function test_config_file_middleware_asset_client (line 55) | fn test_config_file_middleware_asset_client( function test_cargo_toml (line 82) | fn test_cargo_toml( function test_github_ci_yaml (line 96) | fn test_github_ci_yaml( FILE: loco-new/tests/templates/auth.rs function run_generator (line 7) | pub fn run_generator(enable_auth: bool, db: DBOption) -> TestGenerator { function test_config_file_without_auth (line 20) | fn test_config_file_without_auth( function test_config_file_with_auth (line 29) | fn test_config_file_with_auth( function test_config_file_development_rand_secret (line 40) | fn test_config_file_development_rand_secret() { function test_config_file_test_rand_secret (line 51) | fn test_config_file_test_rand_secret() { function test_app_rs (line 62) | fn test_app_rs( function test_src_controllers_mod_rs (line 74) | fn test_src_controllers_mod_rs(#[values(true, false)] auth: bool) { function test_src_views_mod_rs (line 87) | fn test_src_views_mod_rs(#[values(true, false)] auth: bool) { function test_tests_requests_mod_rs (line 100) | fn test_tests_requests_mod_rs(#[values(true, false)] auth: bool) { function test_migration_src_lib (line 114) | fn test_migration_src_lib(#[values(true)] auth: bool) { function test_models_mod_rs (line 129) | fn test_models_mod_rs(#[values(true)] auth: bool) { function test_models_entities_mod_rs (line 140) | fn test_models_entities_mod_rs(#[values(true)] auth: bool) { function test_models_entities_prelude_rs (line 151) | fn test_models_entities_prelude_rs(#[values(true)] auth: bool) { function test_tests_models_mod_rs (line 165) | fn test_tests_models_mod_rs(#[values(true, false)] auth: bool) { FILE: loco-new/tests/templates/background.rs function run_generator (line 7) | pub fn run_generator(background: BackgroundOption) -> TestGenerator { function test_config_file_queue (line 17) | fn test_config_file_queue( function test_config_file_workers (line 61) | fn test_config_file_workers( function test_config_file_workers_tests (line 101) | fn test_config_file_workers_tests( function test_app_rs (line 140) | fn test_app_rs( function test_src_lib_rs (line 156) | fn test_src_lib_rs( function test_tests_mod_rs (line 173) | fn test_tests_mod_rs( FILE: loco-new/tests/templates/db.rs function run_generator (line 7) | pub fn run_generator(db: DBOption) -> TestGenerator { function test_config_file_no_db (line 19) | fn test_config_file_no_db( function test_config_with_sqlite (line 28) | fn test_config_with_sqlite( function test_cargo_toml (line 49) | fn test_cargo_toml(#[values(DBOption::None, DBOption::Sqlite, DBOption::... function test_app_rs (line 60) | fn test_app_rs(#[values(DBOption::None, DBOption::Sqlite, DBOption::Post... function test_src_lib_rs (line 69) | fn test_src_lib_rs(#[values(DBOption::None, DBOption::Sqlite, DBOption::... function test_src_bin_main_rs (line 83) | fn test_src_bin_main_rs( function test_src_bin_tool_rs (line 105) | fn test_src_bin_tool_rs( function test_tests_mod_rs (line 126) | fn test_tests_mod_rs(#[values(DBOption::None, DBOption::Sqlite, DBOption... FILE: loco-new/tests/templates/features.rs function run_generator (line 6) | pub fn run_generator(default_features: bool, names: &[&str]) -> TestGene... function test_cargo_toml_with_default_features_and_empty_names (line 19) | fn test_cargo_toml_with_default_features_and_empty_names() { function test_cargo_toml_without_default_features_and_empty_names (line 30) | fn test_cargo_toml_without_default_features_and_empty_names() { function test_cargo_toml_with_features (line 41) | fn test_cargo_toml_with_features() { function test_cargo_toml_without_features (line 55) | fn test_cargo_toml_without_features() { FILE: loco-new/tests/templates/initializers.rs function run_generator (line 7) | pub fn run_generator(initializers: Option) -> Te... function test_app_rs_with_initializers (line 17) | fn test_app_rs_with_initializers() { function test_app_rs_without_view_engine (line 26) | fn test_app_rs_without_view_engine() { function test_src_initializers_mod_rs_view_engine (line 35) | fn test_src_initializers_mod_rs_view_engine(#[values(true, false)] view_... FILE: loco-new/tests/templates/mailer.rs function run_generator (line 7) | pub fn run_generator(enable_mailer: bool) -> TestGenerator { function test_config_file_without_mailer (line 17) | fn test_config_file_without_mailer( function test_config_file_with_mailer (line 26) | fn test_config_file_with_mailer( function test_cargo_toml (line 50) | fn test_cargo_toml(#[values(true, false)] mailer: bool) { function test_src_lib_rs (line 61) | fn test_src_lib_rs(#[values(true, false)] mailer: bool) { FILE: loco-new/tests/templates/mod.rs type TestGenerator (line 21) | pub struct TestGenerator { method generate (line 26) | pub fn generate(settings: settings::Settings) -> Self { method path (line 47) | pub fn path(&self, path: &str) -> PathBuf { FILE: loco-new/tests/templates/module_name.rs function run_generator (line 7) | pub fn run_generator() -> TestGenerator { function test_cargo_toml (line 18) | fn test_cargo_toml() { function test_use_name (line 39) | fn test_use_name(#[values("src/bin/main.rs", "tests/requests/home.rs")] ... function test_use_name_with_db (line 48) | fn test_use_name_with_db( function test_use_name_with_auth (line 68) | fn test_use_name_with_auth(#[values("tests/requests/auth.rs")] file: &st... FILE: loco-new/tests/wizard/new.rs function test_starter_combinations (line 40) | fn test_starter_combinations(#[case] db: DBOption, #[case] asset: Assets... function test_combination (line 44) | fn test_combination(db: DBOption, asset: AssetsOption, test_generator: b... type Tester (line 197) | struct Tester { method run_clippy (line 203) | fn run_clippy(&self) -> Result { method run_test (line 225) | fn run_test(&self) -> Result { method run_migrate (line 234) | fn run_migrate(&self) -> Result { method run_generate (line 243) | fn run_generate(&self, command: &Vec<&str>) { method run_generate_migration (line 265) | fn run_generate_migration(&self, command: &Vec<&str>) { FILE: src/app.rs type SharedStore (line 35) | pub struct SharedStore { method insert (line 62) | pub fn insert(&self, val: T) { method remove (line 103) | pub fn remove(&self) -> Option { method get_ref (line 151) | pub fn get_ref(&self) -> Option(&self) -> Option { method contains (line 221) | pub fn contains(&self) -> bool { type RefGuard (line 228) | pub struct RefGuard<'a, T: 'static + Send + Sync> { type Target (line 234) | type Target = T; function deref (line 236) | fn deref(&self) -> &Self::Target { type AppContext (line 255) | pub struct AppContext { type Hooks (line 282) | pub trait Hooks: Send { method app_version (line 285) | fn app_version() -> String { method app_name (line 296) | fn app_name() -> &'static str; method boot (line 323) | async fn boot(mode: StartMode, environment: &Environment, config: Config) method serve (line 331) | async fn serve(app: AxumRouter, ctx: &AppContext, serve_params: &Serve... method init_logger (line 360) | fn init_logger(_ctx: &AppContext) -> Result { method load_config (line 368) | async fn load_config(env: &Environment) -> Result { method before_routes (line 378) | async fn before_routes(_ctx: &AppContext) -> Result Result... method initializers (line 395) | async fn initializers(_ctx: &AppContext) -> Result Vec> { method before_run (line 408) | async fn before_run(_app_context: &AppContext) -> Result<()> { method routes (line 413) | fn routes(_ctx: &AppContext) -> AppRoutes; method after_context (line 416) | async fn after_context(ctx: AppContext) -> Result { method connect_workers (line 422) | async fn connect_workers(ctx: &AppContext, queue: &Queue) -> Result<()>; method register_tasks (line 425) | fn register_tasks(tasks: &mut Tasks); method truncate (line 433) | async fn truncate(_ctx: &AppContext) -> Result<()>; method seed (line 437) | async fn seed(_ctx: &AppContext, path: &Path) -> Result<()>; method on_shutdown (line 442) | async fn on_shutdown(_ctx: &AppContext) {} type Initializer (line 453) | pub trait Initializer: Sync + Send { method name (line 455) | fn name(&self) -> String; method before_run (line 460) | async fn before_run(&self, _app_context: &AppContext) -> Result<()> { method after_routes (line 467) | async fn after_routes(&self, router: AxumRouter, _ctx: &AppContext) ->... method check (line 474) | async fn check(&self, _app_context: &AppContext) -> Result Self { method algorithm (line 51) | pub fn algorithm(mut self, algorithm: Algorithm) -> Self { method generate_token (line 70) | pub fn generate_token( method validate (line 102) | pub fn validate(&self, token: &str) -> JWTResult> { function can_generate_token (line 132) | fn can_generate_token( function serialize_user_claims (line 164) | fn serialize_user_claims(#[case] json_claims: Value) { function deserialize_user_claims (line 202) | fn deserialize_user_claims(#[case] json_claims: Value) { FILE: src/banner.rs constant BANNER (line 5) | pub const BANNER: &str = r" function print_banner (line 23) | pub fn print_banner(boot_result: &BootResult, server_config: &ServeParam... FILE: src/bgworker/mod.rs type JobStatus (line 31) | pub enum JobStatus { type Err (line 45) | type Err = String; method from_str (line 47) | fn from_str(s: &str) -> Result { method fmt (line 60) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Queue (line 66) | pub enum Queue { method enqueue (line 98) | pub async fn enqueue( method register (line 148) | pub async fn register< method run (line 183) | pub async fn run(&self, tags: Vec) -> Result<()> { method process_worker_handles (line 224) | async fn process_worker_handles(handles: Vec Result<()> { method clear (line 278) | pub async fn clear(&self) -> Result<()> { method ping (line 303) | pub async fn ping(&self) -> Result<()> { method describe (line 324) | pub fn describe(&self) -> String { method shutdown (line 340) | pub fn shutdown(&self) -> Result<()> { method get_jobs (line 355) | async fn get_jobs( method cancel_jobs (line 398) | pub async fn cancel_jobs(&self, job_name: &str) -> Result<()> { method clear_jobs_older_than (line 424) | pub async fn clear_jobs_older_than( method clear_by_status (line 459) | pub async fn clear_by_status(&self, status: Vec) -> Result<... method requeue (line 483) | pub async fn requeue(&self, age_minutes: &i64) -> Result<()> { method dump (line 510) | pub async fn dump( method import (line 548) | pub async fn import(&self, path: &Path) -> Result<()> { type BackgroundWorker (line 588) | pub trait BackgroundWorker:... method queue (line 593) | fn queue() -> Option { method tags (line 600) | fn tags() -> Vec { method build (line 604) | fn build(ctx: &AppContext) -> Self; method class_name (line 606) | fn class_name() -> String method perform_later (line 615) | async fn perform_later(ctx: &AppContext, args: A) -> crate::Result<()> method perform (line 648) | async fn perform(&self, args: A) -> crate::Result<()>; function converge (line 656) | pub async fn converge(queue: &Queue, config: &QueueConfig) -> Result<()> { function create_queue_provider (line 702) | pub async fn create_queue_provider(config: &Config) -> Result SqliteQueueConfig { function can_dump_jobs (line 766) | async fn can_dump_jobs() { function cat_import_jobs_form_file (line 796) | async fn cat_import_jobs_form_file() { FILE: src/bgworker/pg.rs type JobId (line 23) | type JobId = String; type JobData (line 24) | type JobData = JsonValue; type JobHandler (line 26) | type JobHandler = Box< type Job (line 36) | pub struct Job { type JobRegistry (line 49) | pub struct JobRegistry { method new (line 56) | pub fn new() -> Self { method register_worker (line 65) | pub fn register_worker(&mut self, name: String, worker: W) ->... method handlers (line 106) | pub fn handlers(&self) -> &Arc> { method run (line 112) | pub fn run( method default (line 206) | fn default() -> Self { function connect (line 211) | async fn connect(cfg: &PostgresQueueConfig) -> Result { function initialize_database (line 231) | pub async fn initialize_database(pool: &PgPool) -> Result<()> { function enqueue (line 259) | pub async fn enqueue( function dequeue (line 292) | async fn dequeue(client: &PgPool, worker_tags: &[String]) -> Result Re... function cancel_jobs_by_name (line 411) | pub async fn cancel_jobs_by_name(pool: &PgPool, name: &str) -> Result<()> { function clear (line 429) | pub async fn clear(pool: &PgPool) -> Result<()> { function clear_by_status (line 445) | pub async fn clear_by_status(pool: &PgPool, status: Vec) -> R... function clear_jobs_older_than (line 468) | pub async fn clear_jobs_older_than( function requeue (line 506) | pub async fn requeue(pool: &PgPool, age_minutes: &i64) -> Result<()> { function ping (line 528) | pub async fn ping(pool: &PgPool) -> Result<()> { function get_jobs (line 546) | pub async fn get_jobs( function to_job (line 585) | fn to_job(row: &PgRow) -> Result { type RunOpts (line 619) | pub struct RunOpts { function create_provider (line 629) | pub async fn create_provider(qcfg: &PostgresQueueConfig) -> Result { function reduction (line 659) | fn reduction() -> &'static [(&'static str, &'static str)] { type TableInfo (line 670) | pub struct TableInfo { function get_all_jobs (line 679) | async fn get_all_jobs(pool: &PgPool) -> Vec { function get_job (line 689) | async fn get_job(pool: &PgPool, id: &str) -> Job { function setup_pg_test (line 700) | async fn setup_pg_test() -> ( function can_initialize_database (line 718) | async fn can_initialize_database() { function can_enqueue (line 733) | async fn can_enqueue() { function can_dequeue (line 769) | async fn can_dequeue() { function can_complete_job_without_interval (line 817) | async fn can_complete_job_without_interval() { function can_complete_job_with_interval (line 832) | async fn can_complete_job_with_interval() { function can_fail_job (line 860) | async fn can_fail_job() { function can_cancel_job_by_name (line 887) | async fn can_cancel_job_by_name() { function can_clear (line 913) | async fn can_clear() { function can_clear_by_status (line 934) | async fn can_clear_by_status() { function can_clear_jobs_older_than (line 977) | async fn can_clear_jobs_older_than() { function can_clear_jobs_older_than_with_status (line 996) | async fn can_clear_jobs_older_than_with_status() { function can_get_jobs (line 1023) | async fn can_get_jobs() { function can_get_jobs_with_age (line 1052) | async fn can_get_jobs_with_age() { function can_requeue (line 1079) | async fn can_requeue() { function can_handle_worker_panic (line 1128) | async fn can_handle_worker_panic() { function can_dequeue_with_tags (line 1192) | async fn can_dequeue_with_tags() { FILE: src/bgworker/redis.rs type RedisPool (line 19) | pub type RedisPool = Client; type JobId (line 20) | type JobId = String; type JobData (line 21) | type JobData = JsonValue; constant QUEUE_KEY_PREFIX (line 23) | const QUEUE_KEY_PREFIX: &str = "queue:"; constant JOB_KEY_PREFIX (line 24) | const JOB_KEY_PREFIX: &str = "job:"; constant PROCESSING_KEY_PREFIX (line 25) | const PROCESSING_KEY_PREFIX: &str = "processing:"; type JobHandler (line 27) | type JobHandler = Box< type Job (line 37) | pub struct Job { method new (line 52) | fn new(id: String, name: String, data: JsonValue) -> Self { method to_json (line 68) | fn to_json(&self) -> Result { method from_json (line 73) | fn from_json(json: &str) -> Result { type JobRegistry (line 78) | pub struct JobRegistry { method new (line 85) | pub fn new() -> Self { method register_worker (line 96) | pub fn register_worker(&mut self, name: String, worker: W) ->... method handlers (line 135) | pub fn handlers(&self) -> &Arc> { method run (line 141) | pub fn run( method default (line 230) | fn default() -> Self { function connect (line 235) | fn connect(url: &str) -> Result { function get_connection (line 240) | async fn get_connection(client: &RedisPool) -> Result { function clear (line 250) | pub async fn clear(client: &RedisPool) -> Result<()> { function enqueue (line 261) | pub async fn enqueue( constant DEQUEUE_SCRIPT (line 293) | const DEQUEUE_SCRIPT: &str = r#" function dequeue_with_conn (line 310) | async fn dequeue_with_conn( function complete_job_with_conn (line 377) | async fn complete_job_with_conn( function fail_job_with_conn (line 411) | async fn fail_job_with_conn( function ping (line 440) | pub async fn ping(client: &RedisPool) -> Result<()> { function get_jobs (line 455) | pub async fn get_jobs( function should_include_job (line 518) | fn should_include_job(job: &Job, status: Option<&Vec>, age_da... function clear_by_status (line 544) | pub async fn clear_by_status(client: &RedisPool, status: Vec)... function clear_jobs_older_than (line 630) | pub async fn clear_jobs_older_than( function requeue (line 730) | pub async fn requeue(client: &RedisPool, age_minutes: &i64) -> Result<()> { function cancel_jobs_by_name (line 832) | pub async fn cancel_jobs_by_name(client: &RedisPool, job_name: &str) -> ... constant DEFAULT_QUEUES (line 870) | pub const DEFAULT_QUEUES: &[&str] = &["default", "mailer"]; function get_queues (line 872) | pub fn get_queues(config_queues: &Option>) -> Vec { type RunOpts (line 887) | pub struct RunOpts { function create_provider (line 899) | pub async fn create_provider(qcfg: &RedisQueueConfig) -> Result { function setup_redis (line 929) | async fn setup_redis() -> (RedisPool, ContainerAsync) { function get_test_connection (line 935) | async fn get_test_connection(client: &RedisPool) -> Connection { function redis_seed_data (line 942) | async fn redis_seed_data(client: &RedisPool) -> Result<()> { function get_all_jobs (line 983) | async fn get_all_jobs(client: &RedisPool) -> Vec { function test_can_dequeue_redis (line 988) | async fn test_can_dequeue_redis() { function test_can_clear_redis (line 1004) | async fn test_can_clear_redis() { function test_can_enqueue_redis (line 1035) | async fn test_can_enqueue_redis() { function test_can_enqueue_with_queue_redis (line 1058) | async fn test_can_enqueue_with_queue_redis() { function test_can_complete_job_redis (line 1091) | async fn test_can_complete_job_redis() { function test_can_complete_job_with_interval_redis (line 1133) | async fn test_can_complete_job_with_interval_redis() { function test_can_fail_job_redis (line 1177) | async fn test_can_fail_job_redis() { function test_can_get_jobs_redis (line 1217) | async fn test_can_get_jobs_redis() { function test_job_registry_redis (line 1257) | async fn test_job_registry_redis() { function test_job_filtering_by_tags (line 1310) | async fn test_job_filtering_by_tags() { function test_ping_redis (line 1370) | async fn test_ping_redis() { function test_can_clear_by_status_redis (line 1376) | async fn test_can_clear_by_status_redis() { function test_can_clear_jobs_older_than_with_status_redis (line 1428) | async fn test_can_clear_jobs_older_than_with_status_redis() { function test_can_get_jobs_with_age_redis (line 1504) | async fn test_can_get_jobs_with_age_redis() { FILE: src/bgworker/sqlt.rs type JobId (line 23) | type JobId = String; type JobData (line 24) | type JobData = JsonValue; type JobHandler (line 26) | type JobHandler = Box< type Job (line 36) | pub struct Job { type JobRegistry (line 49) | pub struct JobRegistry { method new (line 56) | pub fn new() -> Self { method register_worker (line 65) | pub fn register_worker(&mut self, name: String, worker: W) ->... method handlers (line 106) | pub fn handlers(&self) -> &Arc> { method run (line 112) | pub fn run( method default (line 204) | fn default() -> Self { function connect (line 209) | async fn connect(cfg: &SqliteQueueConfig) -> Result { function initialize_database (line 229) | pub async fn initialize_database(pool: &SqlitePool) -> Result<()> { function enqueue (line 266) | pub async fn enqueue( function dequeue (line 300) | async fn dequeue(client: &SqlitePool, worker_tags: &[String]) -> Result<... function complete_job (line 405) | async fn complete_job(pool: &SqlitePool, id: &JobId, interval_ms: Option... function fail_job (line 436) | async fn fail_job(pool: &SqlitePool, id: &JobId, error: &crate::Error) -... function cancel_jobs_by_name (line 461) | pub async fn cancel_jobs_by_name(pool: &SqlitePool, name: &str) -> Resul... function clear (line 480) | pub async fn clear(pool: &SqlitePool) -> Result<()> { function clear_by_status (line 503) | pub async fn clear_by_status(pool: &SqlitePool, status: Vec) ... function requeue (line 529) | pub async fn requeue(pool: &SqlitePool, age_minutes: &i64) -> Result<()> { function clear_jobs_older_than (line 553) | pub async fn clear_jobs_older_than( function ping (line 587) | pub async fn ping(pool: &SqlitePool) -> Result<()> { type RunOpts (line 596) | pub struct RunOpts { function create_provider (line 606) | pub async fn create_provider(qcfg: &SqliteQueueConfig) -> Result { function get_jobs (line 636) | pub async fn get_jobs( function to_job (line 674) | fn to_job(row: &SqliteRow) -> Result { type TableInfo (line 720) | pub struct TableInfo { type JobQueueLock (line 731) | struct JobQueueLock { function reduction (line 737) | fn reduction() -> &'static [(&'static str, &'static str)] { function init (line 744) | async fn init(db_path: &Path) -> Pool { function get_all_jobs (line 774) | async fn get_all_jobs(pool: &SqlitePool) -> Vec { function get_job (line 784) | async fn get_job(pool: &SqlitePool, id: &str) -> Job { function can_initialize_database (line 795) | async fn can_initialize_database() { function can_enqueue (line 816) | async fn can_enqueue() { function can_dequeue (line 868) | async fn can_dequeue() { function can_complete_job_without_interval (line 925) | async fn can_complete_job_without_interval() { function can_complete_job_with_interval (line 946) | async fn can_complete_job_with_interval() { function can_fail_job (line 979) | async fn can_fail_job() { function can_cancel_job_by_name (line 1012) | async fn can_cancel_job_by_name() { function can_clear (line 1044) | async fn can_clear() { function can_clear_by_status (line 1079) | async fn can_clear_by_status() { function can_clear_jobs_older_than (line 1128) | async fn can_clear_jobs_older_than() { function can_clear_jobs_older_than_with_status (line 1153) | async fn can_clear_jobs_older_than_with_status() { function can_get_jobs (line 1186) | async fn can_get_jobs() { function can_get_jobs_with_age (line 1220) | async fn can_get_jobs_with_age() { function can_requeue (line 1252) | async fn can_requeue() { function can_handle_worker_panic (line 1300) | async fn can_handle_worker_panic() { function can_dequeue_with_tags (line 1369) | async fn can_dequeue_with_tags() { FILE: src/boot.rs type StartMode (line 37) | pub enum StartMode { type BootResult (line 53) | pub struct BootResult { type ServeParams (line 66) | pub struct ServeParams { function start (line 83) | pub async fn start( function start_queue_worker (line 143) | fn start_queue_worker(app_context: &AppContext, tags: Vec) -> Re... function shutdown_and_await_queue_worker (line 159) | async fn shutdown_and_await_queue_worker( function run_task (line 180) | pub async fn run_task( function scheduler (line 202) | fn scheduler( function run_scheduler (line 242) | pub async fn run_scheduler( type RunDbCommand (line 263) | pub enum RunDbCommand { function run_db (line 296) | pub async fn run_db( function create_context (line 356) | pub async fn create_context( function create_app (line 398) | pub async fn create_app( function create_app (line 414) | pub async fn create_app( function run_app (line 432) | pub async fn run_app(mode: &StartMode, app_context: AppContext... function setup_routes (line 488) | async fn setup_routes( function register_workers (line 503) | async fn register_workers(app_context: &AppContext) -> Result<... function list_endpoints (line 518) | pub fn list_endpoints(ctx: &AppContext) -> Vec { function shutdown_signal (line 528) | pub async fn shutdown_signal() { type MiddlewareInfo (line 552) | pub struct MiddlewareInfo { function list_middlewares (line 559) | pub fn list_middlewares(ctx: &AppContext) -> Vec Result> { FILE: src/cache/drivers/inmem.rs function new (line 23) | pub fn new(config: &InMemCacheConfig) -> crate::cache::Cache { type Inmem (line 33) | pub struct Inmem { method from (line 44) | pub fn from(cache: Cache) -> Box CacheResult<()> { method contains_key (line 65) | async fn contains_key(&self, key: &str) -> CacheResult { method get (line 74) | async fn get(&self, key: &str) -> CacheResult> { method insert (line 87) | async fn insert(&self, key: &str, value: &str) -> CacheResult<()> { method insert_with_expiry (line 102) | async fn insert_with_expiry( method remove (line 123) | async fn remove(&self, key: &str) -> CacheResult<()> { method clear (line 133) | async fn clear(&self) -> CacheResult<()> { type Expiration (line 140) | pub enum Expiration { method as_duration (line 147) | pub fn as_duration(&self) -> Option { type InMemExpiry (line 155) | pub struct InMemExpiry; method expire_after_create (line 158) | fn expire_after_create( function create_test_config (line 173) | fn create_test_config() -> InMemCacheConfig { function ping_returns_pong_when_cache_is_accessible (line 178) | async fn ping_returns_pong_when_cache_is_accessible() { function is_contains_key (line 185) | async fn is_contains_key() { function can_get_key_value (line 194) | async fn can_get_key_value() { function can_remove_key (line 208) | async fn can_remove_key() { function can_clear (line 218) | async fn can_clear() { FILE: src/cache/drivers/mod.rs type CacheDriver (line 18) | pub trait CacheDriver: Sync + Send { method ping (line 25) | async fn ping(&self) -> CacheResult<()>; method contains_key (line 33) | async fn contains_key(&self, key: &str) -> CacheResult; method get (line 41) | async fn get(&self, key: &str) -> CacheResult>; method insert (line 49) | async fn insert(&self, key: &str, value: &str) -> CacheResult<()>; method insert_with_expiry (line 58) | async fn insert_with_expiry( method remove (line 71) | async fn remove(&self, key: &str) -> CacheResult<()>; method clear (line 79) | async fn clear(&self) -> CacheResult<()>; FILE: src/cache/drivers/null.rs type Null (line 16) | pub struct Null {} function new (line 24) | pub fn new() -> Box { method ping (line 35) | async fn ping(&self) -> CacheResult<()> { method contains_key (line 46) | async fn contains_key(&self, _key: &str) -> CacheResult { method get (line 57) | async fn get(&self, _key: &str) -> CacheResult> { method insert (line 66) | async fn insert(&self, _key: &str, _value: &str) -> CacheResult<()> { method insert_with_expiry (line 78) | async fn insert_with_expiry( method remove (line 94) | async fn remove(&self, _key: &str) -> CacheResult<()> { method clear (line 105) | async fn clear(&self) -> CacheResult<()> { FILE: src/cache/drivers/redis.rs function new (line 27) | pub async fn new(config: &RedisCacheConfig) -> CacheResult) -> Box { method ping (line 62) | async fn ping(&self) -> CacheResult<()> { method contains_key (line 75) | async fn contains_key(&self, key: &str) -> CacheResult { method get (line 85) | async fn get(&self, key: &str) -> CacheResult> { method insert (line 96) | async fn insert(&self, key: &str, value: &str) -> CacheResult<()> { method insert_with_expiry (line 109) | async fn insert_with_expiry( method remove (line 127) | async fn remove(&self, key: &str) -> CacheResult<()> { method clear (line 138) | async fn clear(&self) -> CacheResult<()> { function setup_redis_driver (line 153) | async fn setup_redis_driver() -> (Box, ContainerAsync = std::result::Result; function create_cache_provider (line 45) | pub async fn create_cache_provider(config: &config::Config) -> crate::Re... type Cache (line 65) | pub struct Cache { method new (line 73) | pub fn new(driver: Box) -> Self { method ping (line 93) | pub async fn ping(&self) -> CacheResult<()> { method contains_key (line 113) | pub async fn contains_key(&self, key: &str) -> CacheResult { method get (line 153) | pub async fn get(&self, key: &str) -> CacheResult... method insert (line 201) | pub async fn insert( method insert_with_expiry (line 250) | pub async fn insert_with_expiry( method get_or_insert (line 305) | pub async fn get_or_insert(&self, key: &str, f: F) -> LocoResult method get_or_insert_with_expiry (line 363) | pub async fn get_or_insert_with_expiry( method remove (line 399) | pub async fn remove(&self, key: &str) -> CacheResult<()> { method clear (line 420) | pub async fn clear(&self) -> CacheResult<()> { function can_get_or_insert (line 432) | async fn can_get_or_insert() { type TestUser (line 452) | struct TestUser { function can_serialize_deserialize (line 458) | async fn can_serialize_deserialize() { function can_get_or_insert_generic (line 478) | async fn can_get_or_insert_generic() { FILE: src/cargo_config.rs type CargoConfig (line 16) | pub struct CargoConfig { method from_current_dir (line 26) | pub fn from_current_dir() -> AppResult { method lock_from_current_dir (line 35) | pub fn lock_from_current_dir() -> AppResult { method from_path (line 44) | pub fn from_path(path: impl AsRef) -> AppResult { method get_db_entities (line 59) | pub fn get_db_entities(&self) -> Option<&Table> { method get_package_array (line 75) | pub fn get_package_array(&self) -> AppResult<&[toml::Value]> { type CwdGuard (line 89) | struct CwdGuard(PathBuf); method set_to (line 92) | fn set_to(path: &Path) -> Self { method drop (line 100) | fn drop(&mut self) { constant TEST_CARGO_TOML (line 105) | const TEST_CARGO_TOML: &str = r#" constant TEST_CARGO_LOCK (line 115) | const TEST_CARGO_LOCK: &str = r#" function setup_test_dir (line 133) | fn setup_test_dir(cargo_toml: Option<&str>) -> tree_fs::Tree { function setup_test_dir_with_lock (line 140) | fn setup_test_dir_with_lock( function test_from_path_valid_toml (line 152) | fn test_from_path_valid_toml() { function test_from_current_dir (line 162) | fn test_from_current_dir() { function test_lock_from_current_dir (line 171) | fn test_lock_from_current_dir() { function test_get_package_array (line 187) | fn test_get_package_array() { function test_get_db_entities (line 203) | fn test_get_db_entities() { function test_get_db_entities_no_config (line 216) | fn test_get_db_entities_no_config() { function test_invalid_toml (line 233) | fn test_invalid_toml() { function test_file_not_found (line 246) | fn test_file_not_found() { FILE: src/cli.rs type Playground (line 46) | struct Playground { type Cli (line 55) | struct Cli { type Commands (line 65) | enum Commands { type ComponentArg (line 169) | enum ComponentArg { method into_gen_component (line 380) | fn into_gen_component(self, config: &Config) -> crate::Result Self { type DeploymentKind (line 549) | pub enum DeploymentKind { method to_generator_component (line 556) | fn to_generator_component(&self, config: &Config) -> loco_gen::Compone... type JobsCommands (line 594) | enum JobsCommands { function parse_key_val (line 644) | fn parse_key_val( function playground (line 665) | pub async fn playground() -> crate::Result { function main (line 706) | pub async fn main() -> crate::Result<()> { function main (line 856) | pub async fn main() -> crate::Result<()> { type RouteNode (line 993) | struct RouteNode { method is_leaf (line 999) | fn is_leaf(&self) -> bool { method is_collapsible (line 1003) | fn is_collapsible(&self) -> bool { method method (line 1009) | fn method(&self) -> &str { method print (line 1015) | fn print(&self, prefix: &str, segment: &str, is_last: bool, is_root: b... method print_endpoints (line 1078) | fn print_endpoints(&self, prefix: &str, is_last_group: bool, current_p... method print_children (line 1090) | fn print_children(&self, prefix: &str, current_path: &str) { method format_prefix (line 1108) | fn format_prefix(prefix: &str, is_last: bool, with_slash: bool) -> Str... method format_next_prefix (line 1117) | fn format_next_prefix(prefix: &str, is_last: bool) -> String { method build_path (line 1125) | fn build_path(segments: &[&str]) -> String { method print_with_format (line 1135) | fn print_with_format(tree: &str, method: &str, full_path: &str) { function show_list_endpoints (line 1140) | fn show_list_endpoints(ctx: &AppContext) { function color_method (line 1198) | fn color_method(method: &str) -> String { function create_root_span (line 1209) | fn create_root_span(environment: &Environment) -> tracing::Span { function handle_job_command (line 1214) | async fn handle_job_command( function handle_generate_command (line 1270) | fn handle_generate_command( function format_templates_as_tree (line 1328) | pub fn format_templates_as_tree(paths: Vec) -> String { FILE: src/config.rs function get_default_folder (line 39) | fn get_default_folder() -> &'static PathBuf { type Config (line 47) | pub struct Config { method new (line 599) | pub fn new(env: &Environment) -> Result { method from_folder (line 624) | pub fn from_folder(env: &Environment, path: &Path) -> Result { method get_jwt_config (line 651) | pub fn get_jwt_config(&self) -> Result<&JWT> { method fmt (line 663) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Logger (line 95) | pub struct Logger { type LoggerFileAppender (line 125) | pub struct LoggerFileAppender { type Database (line 182) | pub struct Database { type CacheConfig (line 247) | pub enum CacheConfig { type InMemCacheConfig (line 260) | pub struct InMemCacheConfig { function cache_in_mem_max_capacity (line 265) | fn cache_in_mem_max_capacity() -> u64 { type RedisCacheConfig (line 270) | pub struct RedisCacheConfig { type QueueConfig (line 278) | pub enum QueueConfig { type RedisQueueConfig (line 288) | pub struct RedisQueueConfig { type PostgresQueueConfig (line 302) | pub struct PostgresQueueConfig { type SqliteQueueConfig (line 331) | pub struct SqliteQueueConfig { function db_min_conn (line 359) | fn db_min_conn() -> u32 { function db_max_conn (line 363) | fn db_max_conn() -> u32 { function db_connect_timeout (line 367) | fn db_connect_timeout() -> u64 { function db_idle_timeout (line 371) | fn db_idle_timeout() -> u64 { function pgq_poll_interval (line 375) | fn pgq_poll_interval() -> u32 { function sqlt_poll_interval (line 379) | fn sqlt_poll_interval() -> u32 { function num_workers (line 383) | fn num_workers() -> u32 { type Auth (line 398) | pub struct Auth { type JWT (line 405) | pub struct JWT { type JWTLocation (line 421) | pub enum JWTLocation { type JWTLocationConfig (line 433) | pub enum JWTLocationConfig { type Server (line 465) | pub struct Server { method full_url (line 488) | pub fn full_url(&self) -> String { function default_binding (line 482) | fn default_binding() -> String { type Workers (line 500) | pub struct Workers { type WorkerMode (line 507) | pub enum WorkerMode { type Mailer (line 533) | pub struct Mailer { type Initializers (line 552) | pub type Initializers = BTreeMap; type SmtpMailer (line 556) | pub struct SmtpMailer { type MailerAuth (line 572) | pub struct MailerAuth { FILE: src/controller/app_routes.rs function get_normalize_url (line 18) | fn get_normalize_url() -> &'static Regex { type AppRoutes (line 24) | pub struct AppRoutes { method with_default_routes (line 52) | pub fn with_default_routes() -> Self { method empty (line 58) | pub fn empty() -> Self { method collect (line 66) | pub fn collect(&self) -> Vec { method get_prefix (line 105) | pub fn get_prefix(&self) -> Option<&String> { method get_routes (line 111) | pub fn get_routes(&self) -> &[Routes] { method prefix (line 128) | pub fn prefix(mut self, prefix: &str) -> Self { method nest_prefix (line 161) | pub fn nest_prefix(mut self, prefix: &str) -> Self { method nest_route (line 190) | pub fn nest_route(mut self, prefix: &str, route: Routes) -> Self { method nest_routes (line 221) | pub fn nest_routes(mut self, prefix: &str, routes: Vec) -> Self { method add_route (line 232) | pub fn add_route(mut self, mut route: Routes) -> Self { method add_routes (line 255) | pub fn add_routes(mut self, mounts: Vec) -> Self { method middlewares (line 264) | pub fn middlewares(&self, ctx: &AppContext) -> Vec( type ListRoutes (line 30) | pub struct ListRoutes { method fmt (line 37) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function action (line 325) | async fn action() -> Result { function can_load_app_route_from_default (line 330) | fn can_load_app_route_from_default() { function can_load_empty_app_routes (line 342) | fn can_load_empty_app_routes() { function can_load_routes (line 347) | fn can_load_routes() { function can_load_routes_with_root_prefix (line 375) | fn can_load_routes_with_root_prefix() { function can_nest_prefix (line 393) | fn can_nest_prefix() { function can_nest_route (line 400) | fn can_nest_route() { function can_nest_routes (line 410) | fn can_nest_routes() { function can_request_method (line 436) | async fn can_request_method( FILE: src/controller/backtrace.rs function get_name_blocklist (line 10) | fn get_name_blocklist() -> &'static Vec { function get_file_blocklist (line 43) | fn get_file_blocklist() -> &'static Vec { function print_backtrace (line 59) | pub fn print_backtrace(bt: &std::backtrace::Backtrace) -> Result<()> { FILE: src/controller/describe.rs function get_describe_method_action (line 10) | fn get_describe_method_action() -> &'static Regex { function method_action (line 19) | pub fn method_action(method: &MethodRouter) -> Vec { type Rejection (line 65) | type Rejection = Error; function from_request_parts (line 67) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result Result(parts: &Parts, state: &S) -> Re... function get_jwt_from_config (line 152) | pub fn get_jwt_from_config(ctx: &AppContext) -> LocoResult<&JWTConfig> { function extract_token (line 167) | pub fn extract_token(jwt_config: &JWTConfig, parts: &Parts) -> LocoResul... function get_jwt_locations (line 181) | fn get_jwt_locations( function extract_token_from_location (line 192) | fn extract_token_from_location( function extract_token_from_header (line 208) | pub fn extract_token_from_header(headers: &HeaderMap) -> LocoResult LocoResul... function extract_token_from_query (line 239) | pub fn extract_token_from_query(name: &str, parts: &Parts) -> LocoResult... type ApiToken (line 257) | pub struct ApiToken { type Rejection (line 270) | type Rejection = Error; function from_request_parts (line 273) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result(pub T); type Rejection (line 12) | type Rejection = Error; function from_request_parts (line 14) | async fn from_request_parts( FILE: src/controller/extractor/validate.rs type JsonValidateWithMessage (line 41) | pub struct JsonValidateWithMessage(pub T); type Rejection (line 48) | type Rejection = Error; function from_request (line 50) | async fn from_request(req: Request, state: &S) -> Result(pub T); type Rejection (line 93) | type Rejection = Error; function from_request (line 95) | async fn from_request(req: Request, state: &S) -> Result(pub T); type Rejection (line 139) | type Rejection = Error; function from_request (line 141) | async fn from_request(req: Request, state: &S) -> Result(pub T); type Rejection (line 187) | type Rejection = Error; function from_request (line 189) | async fn from_request(req: Request, state: &S) -> Result(pub T); type Rejection (line 235) | type Rejection = Error; function from_request (line 237) | async fn from_request(req: Request, state: &S) -> Result(pub T); type Rejection (line 283) | type Rejection = Error; function from_request (line 285) | async fn from_request(req: Request, state: &S) -> Result HttpRequest { function create_form_request (line 336) | fn create_form_request(form_data: &str) -> HttpRequest { function create_query_request (line 348) | fn create_query_request(query: &str) -> HttpRequest { function assert_response_status_and_body (line 356) | async fn assert_response_status_and_body( function test_json_validate_with_message_valid (line 377) | async fn test_json_validate_with_message_valid() { function test_json_validate_with_message_invalid (line 390) | async fn test_json_validate_with_message_invalid() { function test_form_validate_with_message_valid (line 426) | async fn test_form_validate_with_message_valid() { function test_form_validate_with_message_invalid (line 439) | async fn test_form_validate_with_message_invalid() { function test_json_validate_valid (line 475) | async fn test_json_validate_valid() { function test_json_validate_invalid (line 488) | async fn test_json_validate_invalid() { function test_form_validate_valid (line 511) | async fn test_form_validate_valid() { function test_form_validate_invalid (line 524) | async fn test_form_validate_invalid() { function test_malformed_json (line 547) | async fn test_malformed_json() { function test_malformed_form (line 564) | async fn test_malformed_form() { type CustomData (line 586) | struct CustomData { method validate (line 592) | fn validate(&self) -> Result<(), ModelValidationErrors> { function test_json_validate_with_message_custom_validator_invalid (line 624) | async fn test_json_validate_with_message_custom_validator_invalid() { function test_json_validate_with_message_custom_validator_valid (line 644) | async fn test_json_validate_with_message_custom_validator_valid() { function test_query_validate_with_message_valid (line 653) | async fn test_query_validate_with_message_valid() { function test_query_validate_with_message_invalid (line 666) | async fn test_query_validate_with_message_invalid() { function test_query_validate_valid (line 702) | async fn test_query_validate_valid() { function test_query_validate_invalid (line 715) | async fn test_query_validate_invalid() { function test_malformed_query (line 738) | async fn test_malformed_query() { FILE: src/controller/format.rs function empty (line 60) | pub fn empty() -> Result { function text (line 81) | pub fn text(t: &str) -> Result { function json (line 110) | pub fn json(t: T) -> Result { function empty_json (line 119) | pub fn empty_json() -> Result { function html (line 139) | pub fn html(content: &str) -> Result { function yaml (line 159) | pub fn yaml(content: &str) -> Result { function redirect (line 182) | pub fn redirect(to: &str) -> Result { function view (line 191) | pub fn view(v: &V, key: &str, data: S) -> Result function template (line 205) | pub fn template(template: &str, data: S) -> Result type RenderBuilder (line 213) | pub struct RenderBuilder { method new (line 219) | pub fn new() -> Self { method response (line 227) | pub fn response(self) -> Builder { method status (line 233) | pub fn status(self, status: T) -> Self method header (line 245) | pub fn header(self, key: K, value: V) -> Self method etag (line 263) | pub fn etag(self, etag: &str) -> Result { method cookies (line 275) | pub fn cookies(self, cookies: &[Cookie<'_>]) -> Result { method text (line 289) | pub fn text(self, content: &str) -> Result { method empty (line 304) | pub fn empty(self) -> Result { method view (line 313) | pub fn view(self, v: &V, key: &str, data: S) -> Result method template (line 327) | pub fn template(self, template: &str, data: S) -> Result method html (line 339) | pub fn html(self, content: &str) -> Result { method json (line 354) | pub fn json(self, item: T) -> Result method redirect (line 375) | pub fn redirect(self, to: &str) -> Result { method redirect_with_header_key (line 385) | pub fn redirect_with_header_key(self, key: K, to: &str) -> Result Self { function render (line 405) | pub fn render() -> RenderBuilder { function response_body_to_string (line 418) | async fn response_body_to_string(response: Response) -> String { function get_header_from_response (line 425) | pub fn get_header_from_response(response: &Response, header: &str)... function empty_response_format (line 430) | async fn empty_response_format() { function text_response_format (line 438) | async fn text_response_format() { function json_response_format (line 447) | async fn json_response_format() { function empty_json_response_format (line 459) | async fn empty_json_response_format() { function html_response_format (line 470) | async fn html_response_format() { function yaml_response_format (line 479) | async fn yaml_response_format() { function redirect_response (line 488) | async fn redirect_response() { function view_response (line 497) | async fn view_response() { function template_response (line 513) | async fn template_response() { function builder_set_status_code_response (line 521) | async fn builder_set_status_code_response() { function builder_set_headers_response (line 527) | async fn builder_set_headers_response() { function builder_etag_response (line 547) | async fn builder_etag_response() { function builder_cookies_response (line 559) | async fn builder_cookies_response() { function builder_text_response (line 573) | async fn builder_text_response() { function builder_empty_response (line 581) | async fn builder_empty_response() { function builder_view_response (line 590) | async fn builder_view_response() { function builder_template_response (line 608) | async fn builder_template_response() { function builder_html_response (line 618) | async fn builder_html_response() { function builder_json_response (line 627) | async fn builder_json_response() { function builder_redirect_response (line 639) | async fn builder_redirect_response() { function builder_redirect_with_custom_header_response (line 647) | async fn builder_redirect_with_custom_header_response() { FILE: src/controller/middleware/_archive/content_etag.rs type EtagLayer (line 18) | pub struct EtagLayer; method new (line 21) | pub fn new() -> Self { type Service (line 26) | type Service = EtagMiddleware; method layer (line 28) | fn layer(&self, inner: S) -> Self::Service { type EtagMiddleware (line 34) | pub struct EtagMiddleware { type Response (line 45) | type Response = S::Response; type Error (line 46) | type Error = BoxError; type Future (line 47) | type Future = function poll_ready (line 50) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { function calculate_etag (line 99) | fn calculate_etag(bytes: &Bytes) -> String { FILE: src/controller/middleware/catch_panic.rs type CatchPanic (line 19) | pub struct CatchPanic { function handle_panic (line 29) | fn handle_panic(err: Box) -> axum::r... method name (line 42) | fn name(&self) -> &'static str { method is_enabled (line 47) | fn is_enabled(&self) -> bool { method config (line 51) | fn config(&self) -> serde_json::Result { method apply (line 56) | fn apply(&self, app: AXRouter) -> Result &'static str { method is_enabled (line 27) | fn is_enabled(&self) -> bool { method config (line 31) | fn config(&self) -> serde_json::Result { method apply (line 36) | fn apply(&self, app: AXRouter) -> Result Result { function default_allow_origins (line 44) | fn default_allow_origins() -> Vec { function default_allow_headers (line 48) | fn default_allow_headers() -> Vec { function default_allow_methods (line 52) | fn default_allow_methods() -> Vec { function default_expose_headers (line 56) | fn default_expose_headers() -> Vec { function default_vary_headers (line 60) | fn default_vary_headers() -> Vec { method default (line 69) | fn default() -> Self { method name (line 163) | fn name(&self) -> &'static str { method is_enabled (line 168) | fn is_enabled(&self) -> bool { method config (line 172) | fn config(&self) -> serde_json::Result { method apply (line 177) | fn apply(&self, app: AXRouter) -> Result &'static str { method is_enabled (line 40) | fn is_enabled(&self) -> bool { method config (line 44) | fn config(&self) -> serde_json::Result { method apply (line 49) | fn apply(&self, app: AXRouter) -> Result; method layer (line 62) | fn layer(&self, inner: S) -> Self::Service { type EtagMiddleware (line 68) | struct EtagMiddleware { type Response (line 77) | type Response = S::Response; type Error (line 78) | type Error = S::Error; type Future (line 80) | type Future = BoxFuture<'static, Result>; function poll_ready (line 82) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { FILE: src/controller/middleware/fallback.rs type StatusCodeWrapper (line 15) | pub struct StatusCodeWrapper(pub StatusCode); type Fallback (line 18) | pub struct Fallback { function default_status_code (line 39) | fn default_status_code() -> StatusCode { method default (line 44) | fn default() -> Self { function deserialize_status_code (line 49) | fn deserialize_status_code<'de, D>(de: D) -> Result function serialize_status_code (line 66) | fn serialize_status_code(status: &StatusCode, ser: S) -> Result &'static str { method is_enabled (line 79) | fn is_enabled(&self) -> bool { method config (line 83) | fn config(&self) -> serde_json::Result { method apply (line 88) | fn apply(&self, app: AXRouter) -> Result Result Result RespondTo { function get_respond_to (line 40) | pub fn get_respond_to(headers: &HeaderMap) -> RespondTo { FILE: src/controller/middleware/limit_payload.rs type DefaultBodyLimitKind (line 20) | pub enum DefaultBodyLimitKind { type LimitPayload (line 26) | pub struct LimitPayload { method default (line 35) | fn default() -> Self { function default_body_limit (line 43) | fn default_body_limit() -> DefaultBodyLimitKind { function deserialize_body_limit (line 47) | fn deserialize_body_limit<'de, D>(deserializer: D) -> Result &'static str { method is_enabled (line 70) | fn is_enabled(&self) -> bool { method config (line 74) | fn config(&self) -> serde_json::Result { method apply (line 80) | fn apply(&self, app: AXRouter) -> Result Middleware { method name (line 46) | fn name(&self) -> &'static str { method is_enabled (line 51) | fn is_enabled(&self) -> bool { method config (line 55) | fn config(&self) -> serde_json::Result { method apply (line 69) | fn apply(&self, app: AXRouter) -> Result &'static str; method is_enabled (line 55) | fn is_enabled(&self) -> bool { method config (line 63) | fn config(&self) -> serde_json::Result; method apply (line 71) | fn apply(&self, app: AXRouter) -> Result Vec &'static HeaderValue { type Middleware (line 28) | pub struct Middleware { function new (line 35) | pub fn new(ident: Option<&str>) -> Middleware { method name (line 62) | fn name(&self) -> &'static str { method is_enabled (line 67) | fn is_enabled(&self) -> bool { method config (line 71) | fn config(&self) -> serde_json::Result { method apply (line 80) | fn apply(&self, app: AXRouter) -> Result &'static Vec { constant X_FORWARDED_FOR (line 53) | const X_FORWARDED_FOR: &str = "X-Forwarded-For"; type RemoteIpMiddleware (line 96) | pub struct RemoteIpMiddleware { method name (line 106) | fn name(&self) -> &'static str { method is_enabled (line 111) | fn is_enabled(&self) -> bool { method config (line 117) | fn config(&self) -> serde_json::Result { method apply (line 122) | fn apply(&self, app: AXRouter) -> Result Result) -> fmt::Result { type RemoteIPLayer (line 210) | struct RemoteIPLayer { method new (line 219) | pub fn new(config: &RemoteIpMiddleware) -> Result { type Service (line 243) | type Service = RemoteIPMiddleware; method layer (line 245) | fn layer(&self, inner: S) -> Self::Service { type RemoteIPMiddleware (line 256) | pub struct RemoteIPMiddleware { type Response (line 266) | type Response = S::Response; type Error (line 267) | type Error = S::Error; type Future (line 268) | type Future = BoxFuture<'static, Result>; function poll_ready (line 270) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { function xff (line 313) | fn xff(val: &str) -> HeaderMap { function test_parsing (line 324) | pub fn test_parsing() { FILE: src/controller/middleware/request_id.rs constant X_REQUEST_ID (line 18) | const X_REQUEST_ID: &str = "x-request-id"; constant MAX_LEN (line 19) | const MAX_LEN: usize = 255; function get_id_cleanup (line 25) | fn get_id_cleanup() -> &'static Regex { type RequestId (line 29) | pub struct RequestId { method name (line 36) | fn name(&self) -> &'static str { method is_enabled (line 41) | fn is_enabled(&self) -> bool { method config (line 45) | fn config(&self) -> serde_json::Result { method apply (line 57) | fn apply(&self, app: AXRouter) -> Result &str { function request_id_middleware (line 80) | pub async fn request_id_middleware(mut request: Request, next: Next) -> ... function make_request_id (line 97) | fn make_request_id(maybe_request_id: Option) -> String { function create_or_fetch_request_id (line 121) | fn create_or_fetch_request_id() { FILE: src/controller/middleware/secure_headers.rs function get_presets (line 26) | fn get_presets() -> &'static HashMap> { type SecureHeader (line 79) | pub struct SecureHeader { method as_headers (line 123) | fn as_headers(&self) -> Result> { method default (line 89) | fn default() -> Self { function default_preset (line 94) | fn default_preset() -> String { method name (line 100) | fn name(&self) -> &'static str { method is_enabled (line 105) | fn is_enabled(&self) -> bool { method config (line 109) | fn config(&self) -> serde_json::Result { method apply (line 114) | fn apply(&self, app: AXRouter) -> Result Result { type Service (line 176) | type Service = SecureHeadersMiddleware; method layer (line 179) | fn layer(&self, inner: S) -> Self::Service { type SecureHeadersMiddleware (line 190) | pub struct SecureHeadersMiddleware { type Response (line 200) | type Response = S::Response; type Error (line 201) | type Error = S::Error; type Future (line 202) | type Future = BoxFuture<'static, Result>; function poll_ready (line 204) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { function normalize_headers (line 238) | fn normalize_headers(headers: &HeaderMap) -> BTreeMap { function can_set_headers (line 249) | async fn can_set_headers() { function can_override_headers (line 269) | async fn can_override_headers() { function can_dynamically_override_headers (line 293) | async fn can_dynamically_override_headers() { function default_is_github_preset (line 331) | async fn default_is_github_preset() { FILE: src/controller/middleware/static_assets.rs type StaticAssets (line 25) | pub struct StaticAssets { method default (line 46) | fn default() -> Self { function default_must_exist (line 51) | fn default_must_exist() -> bool { function default_precompressed (line 55) | fn default_precompressed() -> bool { function default_fallback (line 59) | fn default_fallback() -> PathBuf { function default_folder_config (line 63) | fn default_folder_config() -> FolderConfig { type FolderConfig (line 71) | pub struct FolderConfig { method name (line 81) | fn name(&self) -> &'static str { method is_enabled (line 86) | fn is_enabled(&self) -> bool { method config (line 90) | fn config(&self) -> serde_json::Result { method apply (line 103) | fn apply(&self, app: AXRouter) -> Result Self { function default_must_exist (line 54) | fn default_must_exist() -> bool { function default_precompressed (line 58) | fn default_precompressed() -> bool { function default_fallback (line 62) | fn default_fallback() -> PathBuf { function default_folder_config (line 66) | fn default_folder_config() -> FolderConfig { type FolderConfig (line 74) | pub struct FolderConfig { type EmbeddedAssets (line 82) | pub struct EmbeddedAssets { method new (line 87) | fn new(fallback_path: &str) -> Self { method serve (line 122) | fn serve(&self, uri: &str) -> impl IntoResponse { method name (line 167) | fn name(&self) -> &'static str { method is_enabled (line 172) | fn is_enabled(&self) -> bool { method config (line 176) | fn config(&self) -> serde_json::Result { method apply (line 184) | fn apply(&self, app: AXRouter) -> Result Self { function default_timeout (line 38) | fn default_timeout() -> u64 { method name (line 44) | fn name(&self) -> &'static str { method is_enabled (line 49) | fn is_enabled(&self) -> bool { method config (line 53) | fn config(&self) -> serde_json::Result { method apply (line 62) | fn apply(&self, app: AXRouter) -> Result, U>(msg: T) -> Result { function bad_request (line 121) | pub fn bad_request, U>(msg: T) -> Result { function not_found (line 130) | pub fn not_found() -> Result { type ErrorDetail (line 135) | pub struct ErrorDetail { method new (line 147) | pub fn new + AsRef, T2: Into + AsRef>( method with_reason (line 161) | pub fn with_reason>(error: T) -> Self { type Json (line 172) | pub struct Json(pub T); method into_response (line 175) | fn into_response(self) -> axum::response::Response { method into_response (line 183) | fn into_response(self) -> Response { FILE: src/controller/monitoring.rs type Health (line 19) | pub struct Health { function ping (line 27) | pub async fn ping() -> Result { function health (line 35) | pub async fn health() -> Result { function readiness (line 44) | pub async fn readiness(State(ctx): State) -> (StatusCode, Re... function routes (line 101) | pub fn routes() -> Routes { function ping_works (line 120) | async fn ping_works() { function health_works (line 148) | async fn health_works() { function readiness_no_features (line 177) | async fn readiness_no_features() { function readiness_with_db_success (line 206) | async fn readiness_with_db_success() { function readiness_with_db_failure (line 235) | async fn readiness_with_db_failure() { function readiness_with_cache_inmem (line 265) | async fn readiness_with_cache_inmem() { function readiness_with_cache_redis_success (line 299) | async fn readiness_with_cache_redis_success() { function readiness_with_cache_redis_failure (line 338) | async fn readiness_with_cache_redis_failure() { function readiness_with_queue_not_present (line 380) | async fn readiness_with_queue_not_present() { function readiness_with_queue_present_failure (line 412) | async fn readiness_with_queue_present_failure() { FILE: src/controller/routes.rs type Routes (line 9) | pub struct Routes { method new (line 25) | pub fn new() -> Self { method at (line 53) | pub fn at(prefix: &str) -> Self { method add (line 81) | pub fn add(mut self, uri: &str, method: axum::routing::MethodRouter Self { method merge_all (line 197) | pub fn merge_all(mut self, others: Vec) -> Self { method prefix (line 228) | pub fn prefix(mut self, uri: &str) -> Self { method layer (line 251) | pub fn layer(self, layer: L) -> Self method nest (line 328) | pub fn nest(mut self, path: &str, nested_routes: Self) -> Self { type Handler (line 16) | pub struct Handler { function users (line 367) | async fn users() -> Result { function user_detail (line 371) | async fn user_detail() -> Result { function ping (line 375) | async fn ping() -> Result { function test_nest_method (line 380) | fn test_nest_method() { function test_nest_method_with_root_path (line 407) | fn test_nest_method_with_root_path() { function test_nest_method_with_trailing_slash (line 428) | fn test_nest_method_with_trailing_slash() { function test_nest_method_without_leading_slash (line 443) | fn test_nest_method_without_leading_slash() { function test_merge_method (line 458) | fn test_merge_method() { function test_merge_and_nest_combination (line 490) | fn test_merge_and_nest_combination() { function test_merge_all_method (line 530) | fn test_merge_all_method() { function test_merge_all_and_nest_combination (line 555) | fn test_merge_all_and_nest_combination() { FILE: src/controller/views/engine.rs type HotReloadingTeraEngine (line 16) | pub struct HotReloadingTeraEngine { type TeraView (line 25) | pub struct TeraView( method build (line 36) | pub fn build() -> Result { method build_with_post_process (line 49) | pub fn build_with_post_process( method create_tera_instance (line 63) | fn create_tera_instance>(path: P) -> Result { method from_custom_dir (line 83) | pub fn from_custom_dir>( method render (line 177) | fn render(&self, key: &str, data: S) -> Result { function can_render_view (line 214) | fn can_render_view() { function template_inheritance_hot_reload (line 238) | fn template_inheritance_hot_reload() { FILE: src/controller/views/engine_embedded.rs type TeraView (line 15) | pub struct TeraView { method build (line 26) | pub fn build() -> Result { method post_process (line 37) | pub fn post_process( method from_embedded_templates (line 52) | pub fn from_embedded_templates() -> Result { method load_templates_into_tera (line 72) | fn load_templates_into_tera(tera: &mut tera::Tera) -> Result<()> { method log_template_info (line 80) | fn log_template_info(templates: &BTreeMap) { method add_templates_to_tera (line 90) | fn add_templates_to_tera( method render (line 114) | fn render(&self, key: &str, data: S) -> Result { FILE: src/controller/views/mod.rs type ViewRenderer (line 20) | pub trait ViewRenderer { method render (line 26) | fn render(&self, key: &str, data: S) -> Result; type ViewEngine (line 30) | pub struct ViewEngine(pub E); function new (line 34) | pub fn new(engine: E) -> Self { function template (line 55) | pub fn template(template: &str, data: S) -> Result function from (line 64) | fn from(inner: E) -> Self { type Rejection (line 74) | type Rejection = std::convert::Infallible; function from_request_parts (line 76) | async fn from_request_parts( FILE: src/controller/views/pagination.rs type Pager (line 4) | pub struct Pager { type PagerMeta (line 13) | pub struct PagerMeta { function new (line 26) | pub const fn new(results: T, meta: PagerMeta) -> Self { FILE: src/controller/views/tera_builtins/filters/mod.rs function register_filters (line 3) | pub fn register_filters(tera: &mut tera::Tera) { FILE: src/controller/views/tera_builtins/filters/number.rs function separate_with_commas (line 9) | fn separate_with_commas(num_str: &str) -> String { function separate_integer_part (line 20) | fn separate_integer_part(num_str: &str) -> String { function number_with_delimiter (line 54) | pub fn number_with_delimiter(value: &Value, _: &HashMap) ... function number_to_human_size (line 78) | pub fn number_to_human_size(value: &Value, _: &HashMap) -... function number_to_percentage (line 102) | pub fn number_to_percentage(value: &Value, options: &HashMap String { function load_json_file_sync (line 17) | pub fn load_json_file_sync(path: &str) -> Result { function load_json_file (line 30) | pub async fn load_json_file(path: &str) -> Result { type TestData (line 47) | struct TestData { function test_load_json_file_sync_success (line 53) | fn test_load_json_file_sync_success() { function test_load_json_file_sync_file_not_found (line 78) | fn test_load_json_file_sync_file_not_found() { function test_load_json_file_sync_invalid_json (line 91) | fn test_load_json_file_sync_invalid_json() { function test_load_json_file_async_success (line 106) | async fn test_load_json_file_async_success() { function test_load_json_file_async_file_not_found (line 132) | async fn test_load_json_file_async_file_not_found() { function test_load_json_file_async_invalid_json (line 145) | async fn test_load_json_file_async_invalid_json() { FILE: src/db.rs constant IGNORED_TABLES (line 33) | const IGNORED_TABLES: &[&str] = &[ function re_extract_db_name (line 40) | fn re_extract_db_name() -> &'static Regex { type MultiDb (line 47) | pub struct MultiDb { method new (line 57) | pub async fn new(dbs_config: HashMap) -> App... method get (line 74) | pub fn get(&self, name: &str) -> AppResult<&DatabaseConnection> { function verify_access (line 87) | pub async fn verify_access(db: &DatabaseConnection) -> AppResult<()> { function converge (line 116) | pub async fn converge( function connect (line 145) | pub async fn connect(config: &config::Database) -> Result AppResult<&str> { function create (line 210) | pub async fn create(db_uri: &str) -> AppResult<()> { function migrate (line 231) | pub async fn migrate(db: &DatabaseConnection) -> Resul... function down (line 240) | pub async fn down( function status (line 252) | pub async fn status(db: &DatabaseConnection) -> Result... function reset (line 262) | pub async fn reset(db: &DatabaseConnection) -> Result<... function seed (line 279) | pub async fn seed(db: &DatabaseConnection, path: &str) -> crate::Resu... function has_id_column (line 326) | async fn has_id_column( function is_auto_increment (line 374) | async fn is_auto_increment( function reset_autoincrement (line 412) | pub async fn reset_autoincrement( type EntityCmd (line 462) | struct EntityCmd { method new (line 468) | fn new(config: &config::Database) -> Self { method merge_with_config (line 487) | fn merge_with_config(config: &config::Database, toml_config: &toml::Ta... method command (line 531) | fn command(&self) -> Vec<&str> { function entities (line 553) | pub async fn entities(ctx: &AppContext) -> AppResult AppResult<()> { function truncate_table (line 704) | pub async fn truncate_table(db: &DatabaseConnection, _: T) -> Result<... function run_app_seed (line 717) | pub async fn run_app_seed(ctx: &AppContext, path: &Path) -> Ap... function create_postgres_database (line 724) | async fn create_postgres_database( function get_tables (line 766) | pub async fn get_tables(db: &DatabaseConnection) -> AppResult crate::Result... function test_sqlite_connect_success (line 1078) | async fn test_sqlite_connect_success() { function test_postgres_connect_success (line 1093) | async fn test_postgres_connect_success() { function test_sqlite_default_run_on_start (line 1113) | async fn test_sqlite_default_run_on_start() { function test_sqlite_custom_run_on_start (line 1141) | async fn test_sqlite_custom_run_on_start() { function test_postgres_run_on_start (line 1179) | async fn test_postgres_run_on_start() { function test_extract_db_name (line 1247) | fn test_extract_db_name(#[case] conn_str: &str, #[case] expected: &str) { function test_extract_db_name_failure (line 1265) | fn test_extract_db_name_failure(#[case] conn_str: &str) { function test_postgres_create_database (line 1275) | async fn test_postgres_create_database() { function test_postgres_has_id_column (line 1312) | async fn test_postgres_has_id_column() { function test_sqlite_has_id_column (line 1371) | async fn test_sqlite_has_id_column() { function test_postgres_is_auto_increment (line 1430) | async fn test_postgres_is_auto_increment() { function test_postgres_reset_autoincrement (line 1495) | async fn test_postgres_reset_autoincrement() { function test_sqlite_reset_autoincrement (line 1574) | async fn test_sqlite_reset_autoincrement() { type Model (line 1659) | pub struct Model { type Relation (line 1676) | pub enum Relation {} method def (line 1679) | fn def(&self) -> RelationDef { function sqlite_dump_tables_roundtrip (line 1688) | async fn sqlite_dump_tables_roundtrip() { function test_entity_cmd_new (line 1802) | fn test_entity_cmd_new() { function test_entity_cmd_merge_with_config (line 1812) | fn test_entity_cmd_merge_with_config() { FILE: src/depcheck.rs type VersionStatus (line 9) | pub enum VersionStatus { type CrateStatus (line 19) | pub struct CrateStatus { type VersionCheckError (line 25) | pub enum VersionCheckError { type Result (line 33) | pub type Result = std::result::Result; function check_crate_versions (line 35) | pub fn check_crate_versions( function setup_test_dir (line 105) | fn setup_test_dir(cargo_lock_content: &str) -> Tree { function test_multiple_crates_mixed_results (line 113) | fn test_multiple_crates_mixed_results() { function test_invalid_version_format_in_cargo_lock (line 161) | fn test_invalid_version_format_in_cargo_lock() { function test_no_package_section_in_cargo_lock (line 182) | fn test_no_package_section_in_cargo_lock() { function test_exact_version_match_for_minimum_requirement (line 198) | fn test_exact_version_match_for_minimum_requirement() { function test_no_crates_in_min_versions_map (line 223) | fn test_no_crates_in_min_versions_map() { FILE: src/doctor.rs constant SEAORM_INSTALLED (line 31) | const SEAORM_INSTALLED: &str = "SeaORM CLI is installed"; constant SEAORM_NOT_INSTALLED (line 32) | const SEAORM_NOT_INSTALLED: &str = "SeaORM CLI was not found"; constant SEAORM_NOT_FIX (line 33) | const SEAORM_NOT_FIX: &str = r"To fix, run: constant QUEUE_CONN_OK (line 35) | const QUEUE_CONN_OK: &str = "queue connection: success"; constant QUEUE_CONN_FAILED (line 36) | const QUEUE_CONN_FAILED: &str = "queue connection: failed"; constant QUEUE_NOT_CONFIGURED (line 37) | const QUEUE_NOT_CONFIGURED: &str = "queue not configured?"; constant MIN_SEAORMCLI_VER (line 40) | const MIN_SEAORMCLI_VER: &str = "1.1.0"; function get_re_crate_version (line 44) | fn get_re_crate_version() -> &'static Regex { function get_min_dep_versions (line 48) | fn get_min_dep_versions() -> &'static HashMap<&'static str, &'static str> { function check_cratesio_version (line 66) | pub fn check_cratesio_version(crate_name: &str, current_version: &str) -... type Resource (line 102) | pub enum Resource { type CheckStatus (line 113) | pub enum CheckStatus { type Check (line 121) | pub struct Check { method valid (line 132) | pub fn valid(&self) -> bool { method to_result (line 140) | pub fn to_result(&self) -> Result<()> { method fmt (line 154) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function run_all (line 177) | pub async fn run_all( function check_deps (line 223) | pub fn check_deps() -> Result { function check_db (line 262) | pub async fn check_db(config: &crate::config::Database) -> Check { function check_queue (line 294) | pub async fn check_queue(config: &Config) -> Check { function check_seaorm_cli (line 322) | pub fn check_seaorm_cli() -> Result { function check_published_loco_version (line 373) | pub fn check_published_loco_version() -> Result { FILE: src/env_vars.rs constant POSTGRES_DB_OPTIONS (line 8) | pub const POSTGRES_DB_OPTIONS: &str = "LOCO_POSTGRES_DB_OPTIONS"; constant LOCO_ENV (line 10) | pub const LOCO_ENV: &str = "LOCO_ENV"; constant RAILS_ENV (line 12) | pub const RAILS_ENV: &str = "RAILS_ENV"; constant NODE_ENV (line 14) | pub const NODE_ENV: &str = "NODE_ENV"; constant CONFIG_FOLDER (line 16) | pub const CONFIG_FOLDER: &str = "LOCO_CONFIG_FOLDER"; constant SCHEDULER_CONFIG (line 18) | pub const SCHEDULER_CONFIG: &str = "SCHEDULER_CONFIG"; constant LOCO_DATA_FOLDER_ENV (line 20) | pub const LOCO_DATA_FOLDER_ENV: &str = "LOCO_DATA"; function get (line 23) | pub fn get(key: &str) -> Result { function get_or_default (line 29) | pub fn get_or_default(key: &str, default: &str) -> String { FILE: src/environment.rs constant DEFAULT_ENVIRONMENT (line 21) | pub const DEFAULT_ENVIRONMENT: &str = "development"; constant LOCO_ENV (line 22) | pub const LOCO_ENV: &str = "LOCO_ENV"; constant RAILS_ENV (line 23) | pub const RAILS_ENV: &str = "RAILS_ENV"; constant NODE_ENV (line 24) | pub const NODE_ENV: &str = "NODE_ENV"; function resolve_from_env (line 33) | pub fn resolve_from_env() -> String { type Environment (line 42) | pub enum Environment { method from (line 27) | fn from(env: String) -> Self { method load (line 59) | pub fn load(&self) -> Result { method load_from_folder (line 72) | pub fn load_from_folder(&self, path: &Path) -> Result { method fmt (line 78) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Err (line 87) | type Err = &'static str; method from_str (line 89) | fn from_str(input: &str) -> std::result::Result { function test_resolve_env (line 105) | fn test_resolve_env() { function test_display (line 121) | fn test_display() { function test_into (line 127) | fn test_into() { FILE: src/errors.rs type Error (line 31) | pub enum Error { method from (line 25) | fn from(val: serde_json::Error) -> Self { method wrap (line 165) | pub fn wrap(err: impl std::error::Error + Send + Sync + 'static) -> Se... method msg (line 169) | pub fn msg(err: impl std::error::Error + Send + Sync + 'static) -> Self { method string (line 173) | pub fn string(s: &str) -> Self { method bt (line 177) | pub fn bt(self) -> Self { FILE: src/hash.rs function hash_password (line 21) | pub fn hash_password(pass: &str) -> Result { function verify_password (line 48) | pub fn verify_password(pass: &str, hashed_password: &str) -> bool { function random_string (line 72) | pub fn random_string(length: usize) -> String { function can_hah_password (line 86) | fn can_hah_password() { function can_random_string (line 95) | fn can_random_string() { FILE: src/initializers/extra_db.rs type ExtraDbInitializer (line 10) | pub struct ExtraDbInitializer; method name (line 14) | fn name(&self) -> String { method after_routes (line 18) | async fn after_routes(&self, router: AxumRouter, ctx: &AppContext) -> Re... FILE: src/initializers/multi_db.rs type MultiDbInitializer (line 10) | pub struct MultiDbInitializer; method name (line 14) | fn name(&self) -> String { method after_routes (line 18) | async fn after_routes(&self, router: AxumRouter, ctx: &AppContext) -> Re... FILE: src/lib.rs type Result (line 52) | pub type Result = std::result::Result; FILE: src/logger.rs type LogLevel (line 16) | pub enum LogLevel { method fmt (line 66) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Format (line 40) | pub enum Format { type Rotation (line 52) | pub enum Rotation { constant MODULE_WHITELIST (line 72) | const MODULE_WHITELIST: &[&str] = &[ function init (line 104) | pub fn init(config: &config::Logger) -> Result<()> { function init_env_filter (line 181) | fn init_env_filter(override_filter: Option<&String>, level: &L... function init_layer (line 203) | fn init_layer( FILE: src/mailer/email_sender.rs type EmailTransport (line 18) | pub enum EmailTransport { type EmailSender (line 28) | pub struct EmailSender { method smtp (line 46) | pub fn smtp(config: &config::SmtpMailer) -> Result { method stub (line 74) | pub fn stub() -> Self { method deliveries (line 82) | pub fn deliveries(&self) -> Deliveries { method mail (line 103) | pub async fn mail(&self, email: &Email) -> Result<()> { type Deliveries (line 34) | pub struct Deliveries { function can_send_email (line 169) | async fn can_send_email() { function can_send_email_with_custom_headers (line 205) | async fn can_send_email_with_custom_headers() { FILE: src/mailer/mod.rs constant DEFAULT_FROM_SENDER (line 18) | pub const DEFAULT_FROM_SENDER: &str = "System "; type EmailHeaders (line 21) | pub struct EmailHeaders { type Args (line 30) | pub struct Args { type Email (line 42) | pub struct Email { type MailerOpts (line 66) | pub struct MailerOpts { type Mailer (line 74) | pub trait Mailer { method opts (line 77) | fn opts() -> MailerOpts { method mail (line 85) | async fn mail(ctx: &AppContext, email: &Email) -> Result<()> { method mail_template (line 98) | async fn mail_template(ctx: &AppContext, dir: &Dir<'_>, args: Args) ->... type MailerWorker (line 121) | pub struct MailerWorker { method queue (line 128) | fn queue() -> Option { method build (line 132) | fn build(ctx: &AppContext) -> Self { method perform (line 138) | async fn perform(&self, email: Email) -> crate::Result<()> { FILE: src/mailer/template.rs constant SUBJECT (line 22) | const SUBJECT: &str = "subject.t"; constant HTML (line 24) | const HTML: &str = "html.t"; constant TEXT (line 26) | const TEXT: &str = "text.t"; function embedded_file (line 30) | fn embedded_file(dir: &Dir<'_>, name: &str) -> Result { type Content (line 42) | pub struct Content { type Template (line 50) | pub struct Template<'a> { function new (line 57) | pub const fn new(dir: &'a Dir<'_>) -> Self { function render (line 63) | pub fn render(&self, locals: &serde_json::Value) -> Result { function can_render_template (line 89) | fn can_render_template() { FILE: src/model/mod.rs type ModelError (line 13) | pub enum ModelError { method wrap (line 42) | pub fn wrap(err: impl std::error::Error + Send + Sync + 'static) -> Se... method to_msg (line 47) | pub fn to_msg(err: impl std::error::Error + Send + Sync + 'static) -> ... method msg (line 52) | pub fn msg(s: &str) -> Self { type ModelResult (line 38) | pub type ModelResult = std::result::Result; type Authenticable (line 57) | pub trait Authenticable: Clone { method find_by_api_key (line 58) | async fn find_by_api_key(db: &DatabaseConnection, api_key: &str) -> Mo... method find_by_claims_key (line 59) | async fn find_by_claims_key(db: &DatabaseConnection, claims_key: &str)... FILE: src/model/query/dsl/date_range.rs type DateRangeBuilder (line 7) | pub struct DateRangeBuilder { function new (line 15) | pub const fn new(condition_builder: ConditionBuilder, col: T) -> Self { function dates (line 25) | pub fn dates(self, from: Option<&NaiveDateTime>, to: Option<&NaiveDateTi... function from (line 35) | pub fn from(self, from: &NaiveDateTime) -> Self { function to (line 45) | pub fn to(self, to: &NaiveDateTime) -> Self { function build (line 54) | pub fn build(self) -> ConditionBuilder { function condition_date_range_from (line 76) | fn condition_date_range_from() { function condition_date_range_to (line 101) | fn condition_date_range_to() { function condition_date_both (line 126) | fn condition_date_both() { FILE: src/model/query/dsl/mod.rs type ConditionBuilder (line 12) | pub struct ConditionBuilder { method eq (line 235) | pub fn eq>(self, col: T, value: V) -> S... method ne (line 260) | pub fn ne>(self, col: T, value: V) -> S... method gt (line 285) | pub fn gt>(self, col: T, value: V) -> S... method gte (line 311) | pub fn gte>(self, col: T, value: V) -> ... method lt (line 337) | pub fn lt>(self, col: T, value: V) -> S... method lte (line 363) | pub fn lte>(self, col: T, value: V) -> ... method between (line 389) | pub fn between>(self, col: T, a: V, b: ... method not_between (line 415) | pub fn not_between>(self, col: T, a: V,... method like (line 441) | pub fn like>(self, col: T, a: V) -> Se... method not_like (line 467) | pub fn not_like>(self, col: T, a: V) -... method starts_with (line 493) | pub fn starts_with>(self, col: T, a: V... method ends_with (line 519) | pub fn ends_with>(self, col: T, a: V) ... method contains (line 545) | pub fn contains>(self, col: T, a: V) -... method is_null (line 572) | pub fn is_null(self, col: T) -> Self { method is_not_null (line 599) | pub fn is_not_null(self, col: T) -> Self { method is_in (line 626) | pub fn is_in, I: IntoIterator>( method is_not_in (line 657) | pub fn is_not_in, I: IntoIterator(self, col: T) -> date_range::DateRan... method build (line 701) | pub fn build(&self) -> Condition { type SortDirection (line 18) | pub enum SortDirection { method order (line 29) | pub const fn order(&self) -> Order { function condition (line 38) | pub fn condition() -> ConditionBuilder { function with (line 45) | pub const fn with(condition: Condition) -> ConditionBuilder { function eq (line 51) | pub fn eq>(col: T, value: V) -> Condition... function not_equal (line 57) | pub fn not_equal>(col: T, value: V) -> Co... function gt (line 63) | pub fn gt>(col: T, value: V) -> Condition... function gt_equal (line 69) | pub fn gt_equal>(col: T, value: V) -> Con... function lt (line 75) | pub fn lt>(col: T, value: V) -> Condition... function lt_equal (line 81) | pub fn lt_equal>(col: T, value: V) -> Con... function between (line 87) | pub fn between>(col: T, a: V, b: V) -> Co... function not_between (line 93) | pub fn not_between>(col: T, a: V, b: V) -... function like (line 99) | pub fn like>(col: T, a: V) -> ConditionB... function not_like (line 105) | pub fn not_like>(col: T, a: V) -> Condit... function starts_with (line 111) | pub fn starts_with>(col: T, a: V) -> Con... function ends_with (line 117) | pub fn ends_with>(col: T, a: V) -> Condi... function contains (line 123) | pub fn contains>(col: T, a: V) -> Condit... function is_null (line 130) | pub fn is_null(col: T) -> ConditionBuilder { function is_not_null (line 137) | pub fn is_not_null(col: T) -> ConditionBuilder { function is_in (line 144) | pub fn is_in, I: IntoIterator>( function is_not_in (line 154) | pub fn is_not_in, I: IntoIterator(col: T) -> date_range::DateRangeBuilde... method into_condition (line 168) | fn into_condition(self) -> Condition { function condition_eq (line 715) | fn condition_eq() { function condition_ne (line 730) | fn condition_ne() { function condition_gt (line 745) | fn condition_gt() { function condition_gte (line 760) | fn condition_gte() { function condition_lt (line 775) | fn condition_lt() { function condition_lte (line 790) | fn condition_lte() { function condition_between (line 805) | fn condition_between() { function condition_not_between (line 820) | fn condition_not_between() { function condition_like (line 835) | fn condition_like() { function condition_not_like (line 850) | fn condition_not_like() { function condition_starts_with (line 865) | fn condition_starts_with() { function condition_ends_with (line 880) | fn condition_ends_with() { function condition_contains (line 895) | fn condition_contains() { function condition_is_null (line 910) | fn condition_is_null() { function condition_is_not_null (line 925) | fn condition_is_not_null() { function condition_is_in (line 940) | fn condition_is_in() { function condition_is_not_in (line 955) | fn condition_is_not_in() { FILE: src/model/query/paginate/mod.rs function default_page_size (line 5) | const fn default_page_size() -> u64 { function default_page (line 10) | const fn default_page() -> u64 { type PaginationQuery (line 32) | pub struct PaginationQuery { method page (line 49) | pub fn page(page: u64) -> Self { method default (line 59) | fn default() -> Self { function deserialize_pagination_filter (line 69) | fn deserialize_pagination_filter<'de, D>(deserializer: D) -> Result { function paginate (line 145) | pub async fn paginate( function fetch_page (line 199) | pub async fn fetch_page<'db, C, S>( FILE: src/scheduler.rs function get_re_is_cron_syntax (line 21) | fn get_re_is_cron_syntax() -> &'static Regex { type Error (line 27) | pub enum Error { type Result (line 51) | pub type Result = std::result::Result; type Config (line 56) | pub struct Config { type Job (line 67) | pub struct Job { method prepare_command (line 161) | pub fn prepare_command( type Scheduler (line 121) | pub struct Scheduler { method fmt (line 89) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from_config (line 214) | pub fn from_config(config: &Path, environment: &Environment)... method new (line 235) | pub fn new(data: &Config, environment: &Environment) -> Resu... method by_spec (line 267) | pub fn by_spec(self, include_jobs: &Spec) -> Self { method run (line 294) | pub async fn run(self) -> Result<()> { type Spec (line 130) | pub struct Spec { type Output (line 137) | pub enum Output { type JobDescription (line 149) | pub struct JobDescription { method run (line 195) | pub fn run(&self) -> io::Result { function execute_job (line 353) | fn execute_job(job_name: &str, uuid: Uuid, job_description: &JobDescript... function setup_scheduler_config (line 391) | fn setup_scheduler_config() -> (Scheduler, tree_fs::Tree) { function can_display_scheduler (line 434) | pub fn can_display_scheduler() { function can_load_from_config_local_config (line 440) | pub fn can_load_from_config_local_config() { function can_load_from_env_config (line 447) | pub async fn can_load_from_env_config() { function can_load_jobs_by_spec_tag_multiple_jobs (line 458) | pub fn can_load_jobs_by_spec_tag_multiple_jobs() { function can_load_jobs_by_spec_tag_single_jobs (line 469) | pub fn can_load_jobs_by_spec_tag_single_jobs() { function can_load_jobs_by_spec_with_job_name (line 481) | pub fn can_load_jobs_by_spec_with_job_name() { function can_prepare_command (line 495) | pub fn can_prepare_command(#[case] test_name: &str, #[case] run: &str, #... function can_run (line 517) | pub async fn can_run() { FILE: src/schema.rs type GeneralIds (line 13) | enum GeneralIds { function alter (line 19) | pub fn alter(name: T) -> TableAlterStatement { function table_auto_tz (line 24) | pub fn table_auto_tz(name: T) -> TableCreateStatement function timestamps_tz (line 34) | pub fn timestamps_tz(t: TableCreateStatement) -> TableCreateStatement { function timestamptz_null (line 42) | pub fn timestamptz_null(name: T) -> ColumnDef function timestamptz (line 53) | pub fn timestamptz(name: T) -> ColumnDef function enum_type (line 64) | pub fn enum_type(name: T, enum_name: &str) -> ColumnDef function enum_type_null (line 75) | pub fn enum_type_null(name: T, enum_name: &str) -> ColumnDef function enum_type_with_default (line 93) | pub fn enum_type_with_default(name: T, enum_name: &str, default_value... function enum_type_null_with_default (line 112) | pub fn enum_type_null_with_default(name: T, enum_name: &str, default_... function check_enum_exists (line 124) | async fn check_enum_exists(m: &SchemaManager<'_>, enum_name: &str) -> Re... type ColType (line 158) | pub enum ColType { method array (line 294) | pub fn array(kind: ArrayColType) -> Self { method array_uniq (line 300) | pub fn array_uniq(kind: ArrayColType) -> Self { method array_null (line 306) | pub fn array_null(kind: ArrayColType) -> Self { method array_col_type (line 310) | fn array_col_type(kind: &ArrayColType) -> ColumnType { method to_def (line 324) | fn to_def(&self, name: impl IntoIden) -> ColumnDef { type ArrayColType (line 282) | pub enum ArrayColType { function create_table (line 484) | pub async fn create_table( function create_join_table (line 506) | pub async fn create_join_table( function create_table_without_timestamps (line 531) | pub async fn create_table_without_timestamps( function create_join_table_without_timestamps (line 553) | pub async fn create_join_table_without_timestamps( function create_table_impl (line 562) | async fn create_table_impl( function normalize_table (line 692) | fn normalize_table(table: &str) -> String { function reference_id (line 697) | fn reference_id(totbl: &str) -> String { function add_column (line 709) | pub async fn add_column( function remove_column (line 733) | pub async fn remove_column(m: &SchemaManager<'_>, table: &str, name: &st... function add_reference (line 752) | pub async fn add_reference( function remove_reference (line 830) | pub async fn remove_reference( function drop_table (line 877) | pub async fn drop_table(m: &SchemaManager<'_>, table: &str) -> Result<()... function add_enum_values (line 891) | pub async fn add_enum_values( function drop_enum_type (line 931) | pub async fn drop_enum_type(m: &SchemaManager<'_>, enum_name: &str) -> R... FILE: src/storage/contents.rs type Contents (line 4) | pub struct Contents { method from (line 14) | fn from(data: Bytes) -> Self { function from (line 21) | fn from(contents: Contents) -> Self { type Error (line 27) | type Error = std::string::FromUtf8Error; method try_from (line 35) | fn try_from(contents: Contents) -> Result { FILE: src/storage/drivers/aws.rs type Credential (line 8) | pub struct Credential { function new (line 28) | pub fn new(bucket_name: &str, region: &str) -> StorageResult Box { FILE: src/storage/drivers/azure.rs function new (line 17) | pub fn new( FILE: src/storage/drivers/gcp.rs function new (line 17) | pub fn new(bucket_name: &str, credential_path: &str) -> StorageResult Box { function new_with_prefix (line 38) | pub fn new_with_prefix(prefix: impl AsRef) -> StorageRe... FILE: src/storage/drivers/mem.rs function new (line 18) | pub fn new() -> Box { FILE: src/storage/drivers/mod.rs type UploadResponse (line 21) | pub struct UploadResponse { type GetResponse (line 30) | pub struct GetResponse { method new (line 35) | pub(crate) fn new(stream: Reader) -> Self { method bytes (line 44) | pub async fn bytes(&self) -> StorageResult { method into_stream (line 56) | pub async fn into_stream(self) -> StorageResult { type StoreDriver (line 62) | pub trait StoreDriver: Sync + Send { method upload (line 69) | async fn upload(&self, path: &Path, content: &Bytes) -> StorageResult<... method get (line 76) | async fn get(&self, path: &Path) -> StorageResult; method delete (line 84) | async fn delete(&self, path: &Path) -> StorageResult<()>; method rename (line 93) | async fn rename(&self, from: &Path, to: &Path) -> StorageResult<()>; method copy (line 100) | async fn copy(&self, from: &Path, to: &Path) -> StorageResult<()>; method exists (line 108) | async fn exists(&self, path: &Path) -> StorageResult; method get_stream (line 123) | async fn get_stream(&self, path: &Path) -> StorageResult { method upload_stream (line 141) | async fn upload_stream( FILE: src/storage/drivers/null.rs type NullStorage (line 15) | pub struct NullStorage {} function new (line 19) | pub fn new() -> Box { method upload (line 31) | async fn upload(&self, _path: &Path, _content: &Bytes) -> StorageResult<... method get (line 42) | async fn get(&self, _path: &Path) -> StorageResult { method delete (line 54) | async fn delete(&self, _path: &Path) -> StorageResult<()> { method rename (line 67) | async fn rename(&self, _from: &Path, _to: &Path) -> StorageResult<()> { method copy (line 78) | async fn copy(&self, _from: &Path, _to: &Path) -> StorageResult<()> { method exists (line 90) | async fn exists(&self, _path: &Path) -> StorageResult { FILE: src/storage/drivers/opendal_adapter.rs type OpendalAdapter (line 11) | pub struct OpendalAdapter { method new (line 18) | pub fn new(opendal_impl: Operator) -> Self { method upload (line 34) | async fn upload(&self, path: &Path, content: &Bytes) -> StorageResult StorageResult { method delete (line 64) | async fn delete(&self, path: &Path) -> StorageResult<()> { method rename (line 82) | async fn rename(&self, from: &Path, to: &Path) -> StorageResult<()> { method copy (line 103) | async fn copy(&self, from: &Path, to: &Path) -> StorageResult<()> { method exists (line 140) | async fn exists(&self, path: &Path) -> StorageResult { method get_stream (line 147) | async fn get_stream(&self, path: &Path) -> StorageResult { method upload_stream (line 157) | async fn upload_stream( FILE: src/storage/mod.rs type StorageError (line 28) | pub enum StorageError { method from (line 48) | fn from(val: opendal::Error) -> Self { type StorageResult (line 45) | pub type StorageResult = std::result::Result; type Storage (line 53) | pub struct Storage { method single (line 69) | pub fn single(store: Box) -> Self { method new (line 79) | pub fn new( method upload (line 108) | pub async fn upload(&self, path: &Path, content: &Bytes) -> StorageRes... method upload_with_strategy (line 123) | pub async fn upload_with_strategy( method download (line 156) | pub async fn download>(&self, path: &Pa... method download_with_policy (line 170) | pub async fn download_with_policy>( method delete (line 210) | pub async fn delete(&self, path: &Path) -> StorageResult<()> { method delete_with_policy (line 224) | pub async fn delete_with_policy( method rename (line 259) | pub async fn rename(&self, from: &Path, to: &Path) -> StorageResult<()> { method rename_with_policy (line 273) | pub async fn rename_with_policy( method copy (line 309) | pub async fn copy(&self, from: &Path, to: &Path) -> StorageResult<()> { method copy_with_policy (line 322) | pub async fn copy_with_policy( method as_store (line 348) | pub fn as_store(&self, name: &str) -> Option<&dyn StoreDriver> { method as_store_err (line 370) | pub fn as_store_err(&self, name: &str) -> StorageResult<&dyn StoreDriv... method download_stream (line 398) | pub async fn download_stream(&self, path: &Path) -> StorageResult... method upload_stream_with_policy (line 449) | pub async fn upload_stream_with_policy( FILE: src/storage/strategies/backup.rs type FailureMode (line 32) | pub enum FailureMode { method should_fail (line 275) | pub fn should_fail(&self, errors: &BTreeMap) -> bool { type BackupStrategy (line 47) | pub struct BackupStrategy { method new (line 264) | pub fn new(primary: &str, secondaries: Option>, failure_mo... method upload (line 61) | async fn upload(&self, storage: &Storage, path: &Path, content: &Bytes) ... method download (line 91) | async fn download(&self, storage: &Storage, path: &Path) -> StorageResul... method delete (line 103) | async fn delete(&self, storage: &Storage, path: &Path) -> StorageResult<... method rename (line 136) | async fn rename(&self, storage: &Storage, from: &Path, to: &Path) -> Sto... method copy (line 172) | async fn copy(&self, storage: &Storage, from: &Path, to: &Path) -> Stora... method download_stream (line 203) | async fn download_stream( method upload_stream (line 217) | async fn upload_stream( function upload_should_pass_when_backup_all_policy (line 296) | async fn upload_should_pass_when_backup_all_policy() { function upload_should_fail_when_primary_fail (line 331) | async fn upload_should_fail_when_primary_fail() { function upload_should_pass_when_allow_backup_failure_policy (line 366) | async fn upload_should_pass_when_allow_backup_failure_policy() { function upload_should_pass_when_at_least_one_failure_policy (line 401) | async fn upload_should_pass_when_at_least_one_failure_policy() { function upload_should_fail_when_at_least_one_failure_policy (line 436) | async fn upload_should_fail_when_at_least_one_failure_policy() { function upload_should_pass_count_fail_policy_should_pass (line 471) | async fn upload_should_pass_count_fail_policy_should_pass() { function upload_should_fail_when_count_fail_should_fail (line 506) | async fn upload_should_fail_when_count_fail_should_fail() { function can_download (line 542) | async fn can_download() { function delete_should_pass_when_backup_all_policy (line 571) | async fn delete_should_pass_when_backup_all_policy() { function rename_should_pass_when_backup_all_policy (line 608) | async fn rename_should_pass_when_backup_all_policy() { function rename_should_pass_when_allow_backup_failure_policy (line 659) | async fn rename_should_pass_when_allow_backup_failure_policy() { function rename_should_pass_when_at_least_one_failure_policy (line 712) | async fn rename_should_pass_when_at_least_one_failure_policy() { function rename_should_fail_when_at_least_one_failure_policy (line 765) | async fn rename_should_fail_when_at_least_one_failure_policy() { function rename_should_pass_when_count_fail_policy (line 819) | async fn rename_should_pass_when_count_fail_policy() { function rename_should_fail_when_count_fail_policy (line 872) | async fn rename_should_fail_when_count_fail_policy() { function copy_should_pass_when_backup_all_policy (line 928) | async fn copy_should_pass_when_backup_all_policy() { function copy_should_pass_when_allow_backup_failure_policy (line 979) | async fn copy_should_pass_when_allow_backup_failure_policy() { function copy_should_pass_when_at_least_one_failure_policy (line 1032) | async fn copy_should_pass_when_at_least_one_failure_policy() { function copy_should_fail_when_at_least_one_failure_policy (line 1085) | async fn copy_should_fail_when_at_least_one_failure_policy() { function copy_should_pass_when_count_fail_policy (line 1139) | async fn copy_should_pass_when_count_fail_policy() { function copy_should_fail_when_count_fail_policy (line 1192) | async fn copy_should_fail_when_count_fail_policy() { FILE: src/storage/strategies/mirror.rs type FailureMode (line 31) | pub enum FailureMode { method should_fail (line 317) | pub fn should_fail(&self, errors: &BTreeMap) -> bool { type MirrorStrategy (line 40) | pub struct MirrorStrategy { method new (line 296) | pub fn new(primary: &str, secondaries: Option>, failure_mo... method try_download (line 305) | async fn try_download( method upload (line 63) | async fn upload(&self, storage: &Storage, path: &Path, content: &Bytes) ... method download (line 94) | async fn download(&self, storage: &Storage, path: &Path) -> StorageResul... method delete (line 122) | async fn delete(&self, storage: &Storage, path: &Path) -> StorageResult<... method rename (line 154) | async fn rename(&self, storage: &Storage, from: &Path, to: &Path) -> Sto... method copy (line 188) | async fn copy(&self, storage: &Storage, from: &Path, to: &Path) -> Stora... method download_stream (line 220) | async fn download_stream( method upload_stream (line 249) | async fn upload_stream( function upload_should_pass_with_mirror_all_policy (line 334) | async fn upload_should_pass_with_mirror_all_policy() { function upload_should_fail_with_mirror_all_policy (line 369) | async fn upload_should_fail_with_mirror_all_policy() { function upload_should_fail_when_allow_mirror_failure_policy (line 404) | async fn upload_should_fail_when_allow_mirror_failure_policy() { function can_download_when_primary_is_ok (line 438) | async fn can_download_when_primary_is_ok() { function can_download_when_primary_failed (line 475) | async fn can_download_when_primary_failed() { function rename_should_pass_when_primary_is_ok (line 519) | async fn rename_should_pass_when_primary_is_ok() { function rename_should_fail_when_primary_failed (line 570) | async fn rename_should_fail_when_primary_failed() { function rename_should_pass_when_allow_mirror_failure (line 615) | async fn rename_should_pass_when_allow_mirror_failure() { function copy_should_pass_when_primary_is_ok (line 666) | async fn copy_should_pass_when_primary_is_ok() { function copy_should_pass_fail_when_primary (line 717) | async fn copy_should_pass_fail_when_primary() { function should_pass_when_allow_mirror_failure (line 762) | async fn should_pass_when_allow_mirror_failure() { FILE: src/storage/strategies/mod.rs type StorageStrategy (line 12) | pub trait StorageStrategy: Sync + Send { method upload (line 13) | async fn upload(&self, storage: &Storage, path: &Path, content: &Bytes... method download (line 14) | async fn download(&self, storage: &Storage, path: &Path) -> StorageRes... method delete (line 15) | async fn delete(&self, storage: &Storage, path: &Path) -> StorageResul... method rename (line 16) | async fn rename(&self, storage: &Storage, from: &Path, to: &Path) -> S... method copy (line 17) | async fn copy(&self, storage: &Storage, from: &Path, to: &Path) -> Sto... method download_stream (line 22) | async fn download_stream(&self, storage: &Storage, path: &Path) -> Sto... method upload_stream (line 27) | async fn upload_stream( FILE: src/storage/strategies/single.rs type SingleStrategy (line 13) | pub struct SingleStrategy { method new (line 21) | pub fn new(primary: &str) -> Self { method upload (line 36) | async fn upload(&self, storage: &Storage, path: &Path, content: &Bytes) ... method download (line 49) | async fn download(&self, storage: &Storage, path: &Path) -> StorageResul... method delete (line 59) | async fn delete(&self, storage: &Storage, path: &Path) -> StorageResult<... method rename (line 68) | async fn rename(&self, storage: &Storage, from: &Path, to: &Path) -> Sto... method copy (line 80) | async fn copy(&self, storage: &Storage, from: &Path, to: &Path) -> Stora... method download_stream (line 89) | async fn download_stream( method upload_stream (line 102) | async fn upload_stream( function can_upload (line 125) | async fn can_upload() { function can_download (line 142) | async fn can_download() { function can_delete (line 160) | async fn can_delete() { function can_rename_file_path (line 181) | async fn can_rename_file_path() { function can_copy_file_path (line 210) | async fn can_copy_file_path() { FILE: src/storage/stream.rs type BytesStream (line 10) | pub struct BytesStream { method from_reader (line 17) | pub(crate) async fn from_reader(reader: Reader) -> Result Result { method into_body (line 64) | pub fn into_body(self) -> axum::body::Body { method from_body_stream (line 73) | pub fn from_body_stream(stream: S) -> Self type Item (line 53) | type Item = Result; method poll_next (line 55) | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Self { method cli_arg (line 58) | pub fn cli_arg(&self, key: &str) -> Result<&String> { type TaskInfo (line 68) | pub struct TaskInfo { type Task (line 75) | pub trait Task: Send + Sync { method task (line 77) | fn task(&self) -> TaskInfo; method run (line 79) | async fn run(&self, app_context: &AppContext, vars: &Vars) -> Result<()>; type Tasks (line 84) | pub struct Tasks { method list (line 91) | pub fn list(&self) -> Vec { method names (line 97) | pub fn names(&self) -> Vec { method run (line 110) | pub async fn run(&self, app_context: &AppContext, task: &str, vars: &V... method register (line 120) | pub fn register(&mut self, task: impl Task + 'static) { function test_vars_from_cli_args (line 132) | async fn test_vars_from_cli_args() { function test_vars_cli_arg (line 145) | async fn test_vars_cli_arg() { function test_tasks_registry (line 154) | async fn test_tasks_registry() { function test_tasks_list (line 165) | async fn test_tasks_list() { function test_tasks_run_success (line 183) | async fn test_tasks_run_success() { function test_tasks_run_failure (line 195) | async fn test_tasks_run_failure() { function test_tasks_run_with_args (line 214) | async fn test_tasks_run_with_args() { function test_tasks_run_not_found (line 231) | async fn test_tasks_run_not_found() { function test_task_registration_and_override (line 248) | async fn test_task_registration_and_override() { FILE: src/tera.rs function render_string (line 5) | pub fn render_string(tera_template: &str, locals: &serde_json::Value) ->... FILE: src/testing/db.rs function seed (line 36) | pub async fn seed(ctx: &AppContext) -> Result<()> { function init_test_db_creation (line 45) | pub fn init_test_db_creation(conn_str: &str) -> Result(&'a self) -> Pin + Send + '... method get_connection_str (line 59) | fn get_connection_str(&self) -> &str; method cleanup_db (line 61) | fn cleanup_db(&self); method get_connection_str (line 92) | fn get_connection_str(&self) -> &str { method init_db (line 96) | fn init_db<'a>(&'a self) -> Pin + Send + '... method cleanup_db (line 110) | fn cleanup_db(&self) { method get_connection_str (line 167) | fn get_connection_str(&self) -> &str { method init_db (line 170) | fn init_db<'a>(&'a self) -> Pin + Send + '... method cleanup_db (line 174) | fn cleanup_db(&self) { method get_connection_str (line 192) | fn get_connection_str(&self) -> &str { method init_db (line 195) | fn init_db<'a>(&'a self) -> Pin + Send + '... method cleanup_db (line 199) | fn cleanup_db(&self) {} type PostgresTest (line 64) | pub struct PostgresTest { method new (line 75) | pub fn new(conn_str: &str) -> Result { type SqliteTest (line 131) | pub struct SqliteTest { method new (line 142) | pub fn new(conn_str: &str) -> Result { type Any (line 179) | pub struct Any { method new (line 184) | pub fn new(conn_str: &str) -> Self { function schema_exists (line 209) | async fn schema_exists(pool: &sqlx::PgPool, schema_name: &str) -> bool { function sqlite_test_support (line 222) | async fn sqlite_test_support() { function postgres_test_support (line 234) | async fn postgres_test_support() { FILE: src/testing/redaction.rs function get_cleanup_user_model (line 8) | pub fn get_cleanup_user_model() -> &'static Vec<(&'static str, &'static ... function get_cleanup_date (line 21) | pub fn get_cleanup_date() -> &'static Vec<(&'static str, &'static str)> { function get_cleanup_model (line 34) | pub fn get_cleanup_model() -> &'static Vec<(&'static str, &'static str)> { function get_cleanup_mail (line 38) | pub fn get_cleanup_mail() -> &'static Vec<(&'static str, &'static str)> { function cleanup_user_model (line 90) | pub fn cleanup_user_model() -> Vec<(&'static str, &'static str)> { function cleanup_email (line 99) | pub fn cleanup_email() -> Vec<(&'static str, &'static str)> { FILE: src/testing/request.rs type BootResultWrapper (line 20) | pub struct BootResultWrapper { method new (line 28) | pub fn new(boot: BootResult, test_db: Box)... type Target (line 38) | type Target = BootResult; method deref (line 40) | fn deref(&self) -> &Self::Target { method drop (line 47) | fn drop(&mut self) { type RequestConfig (line 53) | pub struct RequestConfig { method default (line 63) | fn default() -> Self { type RequestConfigBuilder (line 69) | pub struct RequestConfigBuilder { method new (line 78) | pub fn new() -> Self { method save_cookies (line 88) | pub fn save_cookies(mut self, save: bool) -> Self { method default_content_type (line 95) | pub fn default_content_type>(mut self, content_type: S... method default_scheme (line 102) | pub fn default_scheme>(mut self, scheme: S) -> Self { method build (line 109) | pub fn build(self) -> RequestConfig { method default (line 119) | fn default() -> Self { method from (line 126) | fn from(request_config: RequestConfig) -> Self { constant TEST_PORT_SERVER (line 136) | pub const TEST_PORT_SERVER: i32 = 5555; constant TEST_BINDING_SERVER (line 139) | pub const TEST_BINDING_SERVER: &str = "localhost"; function get_base_url_port (line 143) | pub fn get_base_url_port(port: i32) -> String { function get_available_port (line 152) | pub async fn get_available_port() -> i32 { function boot_test (line 185) | pub async fn boot_test() -> Result { function boot_test_with_create_db (line 209) | pub async fn boot_test_with_create_db() -> Result(port: Option) -> Resul... function request_internal (line 259) | async fn request_internal(callback: F, boot: &BootResult, test_s... function request (line 302) | pub async fn request(callback: F) function request_with_create_db (line 331) | pub async fn request_with_create_db(callback: F) function request_with_config (line 355) | pub async fn request_with_config(config: RequestConfig... function request_config_with_create_db (line 382) | pub async fn request_config_with_create_db(config: Req... FILE: src/testing/selector.rs function assert_css_exists (line 24) | pub fn assert_css_exists(html: &str, selector: &str) { function assert_css_not_exists (line 54) | pub fn assert_css_not_exists(html: &str, selector: &str) { function assert_css_eq (line 84) | pub fn assert_css_eq(html: &str, selector: &str, expected_text: &str) { function assert_link (line 126) | pub fn assert_link(html: &str, selector: &str, expected_href: &str) { function assert_attribute_exists (line 155) | pub fn assert_attribute_exists(html: &str, selector: &str, attribute: &s... function assert_attribute_eq (line 198) | pub fn assert_attribute_eq(html: &str, selector: &str, attribute: &str, ... function assert_count (line 245) | pub fn assert_count(html: &str, selector: &str, expected_count: usize) { function assert_css_eq_list (line 283) | pub fn assert_css_eq_list(html: &str, selector: &str, expected_texts: &[... function select (line 322) | pub fn select(html: &str, selector: &str) -> Vec { function setup_test_html (line 336) | fn setup_test_html() -> &'static str { function test_assert_css_exists (line 373) | fn test_assert_css_exists() { function test_assert_css_not_exists (line 392) | fn test_assert_css_not_exists() { function test_assert_css_eq (line 411) | fn test_assert_css_eq() { function test_assert_link (line 431) | fn test_assert_link() { function test_assert_attribute_exists (line 452) | fn test_assert_attribute_exists() { function test_assert_attribute_eq (line 471) | fn test_assert_attribute_eq() { function test_assert_count (line 492) | fn test_assert_count() { function test_assert_css_eq_list (line 511) | fn test_assert_css_eq_list() { function test_assert_css_eq_list_table (line 533) | fn test_assert_css_eq_list_table() { function test_select (line 560) | fn test_select() { FILE: src/tests_cfg/app.rs function get_app_context (line 9) | pub async fn get_app_context() -> AppContext { FILE: src/tests_cfg/config.rs function test_config (line 12) | pub fn test_config() -> Config { function get_database_config (line 66) | pub fn get_database_config() -> config::Database { function get_sqlite_test_config (line 90) | pub fn get_sqlite_test_config(db_filename: &str) -> (config::Database, T... FILE: src/tests_cfg/controllers/auth.rs function routes (line 4) | pub fn routes() -> Routes { FILE: src/tests_cfg/controllers/home.rs function routes (line 4) | pub fn routes() -> Routes { FILE: src/tests_cfg/db.rs function get_value (line 27) | pub async fn get_value(conn: &sea_orm::DatabaseConnection, query: &str) ... function dummy_connection (line 55) | pub async fn dummy_connection() -> sea_orm::DatabaseConnection { function fail_connection (line 67) | pub async fn fail_connection() -> sea_orm::DatabaseConnection { type Model (line 84) | pub struct Model { type Loco (line 93) | pub enum Loco { method unquoted (line 100) | fn unquoted(&self, s: &mut dyn fmt::Write) { type Relation (line 115) | pub enum Relation {} type Migrator (line 121) | pub struct Migrator; method migrations (line 125) | fn migrations() -> Vec> { type AppHook (line 131) | pub struct AppHook; method app_version (line 134) | fn app_version() -> String { method app_name (line 138) | fn app_name() -> &'static str { method initializers (line 142) | async fn initializers(_ctx: &AppContext) -> Result AppRoutes { method boot (line 150) | async fn boot( method connect_workers (line 158) | async fn connect_workers(_ctx: &AppContext, _q: &Queue) -> Result<()> { method register_tasks (line 162) | fn register_tasks(tasks: &mut Tasks) { method truncate (line 167) | async fn truncate(_ctx: &AppContext) -> Result<()> { method seed (line 171) | async fn seed(_ctx: &AppContext, _base: &Path) -> Result<()> { FILE: src/tests_cfg/postgres.rs function setup_postgres_container (line 18) | pub async fn setup_postgres_container() -> (String, ContainerAsync PathBuf { function postgres_seed_data (line 19) | pub async fn postgres_seed_data(pool: &sqlx::PgPool) { function sqlite_seed_data (line 49) | pub async fn sqlite_seed_data(pool: &sqlx::Pool) { FILE: src/tests_cfg/redis.rs function setup_redis_container (line 18) | pub async fn setup_redis_container() -> (String, ContainerAsync TaskInfo { method run (line 14) | async fn run(&self, _app_context: &AppContext, _vars: &task::Vars) -> Re... type ParseArgs (line 21) | pub struct ParseArgs; method task (line 25) | fn task(&self) -> TaskInfo { method run (line 31) | async fn run(&self, _app_context: &AppContext, vars: &task::Vars) -> Res... FILE: src/validation.rs type ModelValidationMessage (line 52) | pub struct ModelValidationMessage { type ValidationError (line 67) | pub struct ValidationError { type ModelValidationErrors (line 76) | pub struct ModelValidationErrors { method from (line 81) | fn from(value: ValidationErrors) -> Self { method from (line 104) | fn from(errors: ModelValidationErrors) -> Self { function into_db_error (line 111) | pub fn into_db_error(errors: &ModelValidationErrors) -> sea_orm::DbErr { type ValidatorTrait (line 137) | pub trait ValidatorTrait { method validate (line 143) | fn validate(&self) -> Result<(), ModelValidationErrors>; method validate (line 148) | fn validate(&self) -> Result<(), ModelValidationErrors> { method validate (line 207) | fn validate(&self) -> Result<(), ModelValidationErrors> { type Validatable (line 155) | pub trait Validatable { method validate (line 161) | fn validate(&self) -> Result<(), ModelValidationErrors> { method validator (line 165) | fn validator(&self) -> Box; type TestValidator (line 179) | pub struct TestValidator { function can_validate_into_db_error (line 188) | fn can_validate_into_db_error(#[case] name: &str) { type CustomValidator (line 202) | pub struct CustomValidator { function custom_validator_works (line 227) | fn custom_validator_works(#[case] name: &str) { FILE: tests/build_scripts/embedded_assets.rs function create_test_assets (line 17) | fn create_test_assets() -> tree_fs::Tree { function create_insta_settings (line 29) | fn create_insta_settings(root_path: &Path) -> insta::Settings { function test_generate_empty_asset_files (line 37) | fn test_generate_empty_asset_files() { function test_generate_asset_code (line 69) | fn test_generate_asset_code() { function test_discover_all_directories (line 121) | fn test_discover_all_directories() { function test_find_app_directory (line 163) | fn test_find_app_directory() { function test_build_static_assets (line 209) | fn test_build_static_assets() { function test_collect_all_files (line 253) | fn test_collect_all_files() { function test_template_inheritance (line 293) | fn test_template_inheritance() { FILE: tests/controller/extractor/auth/api_token.rs type TestUserResponse (line 9) | pub struct TestUserResponse { type TestUser (line 17) | struct TestUser { method find_by_claims_key (line 24) | async fn find_by_claims_key( method find_by_api_key (line 39) | async fn find_by_api_key( function api_token_handler (line 56) | async fn api_token_handler(auth: auth::ApiToken) -> Result Result { function can_extract_jwt_with_valid_token (line 20) | async fn can_extract_jwt_with_valid_token() { function can_handle_invalid_jwt_token (line 54) | async fn can_handle_invalid_jwt_token() { function can_handle_missing_jwt_token (line 82) | async fn can_handle_missing_jwt_token() { function can_handle_expired_jwt_token (line 109) | async fn can_handle_expired_jwt_token() { function can_handle_malformed_authorization_header (line 142) | async fn can_handle_malformed_authorization_header() { function can_handle_missing_jwt_configuration (line 170) | async fn can_handle_missing_jwt_configuration() { function can_extract_jwt_from_cookie (line 192) | async fn can_extract_jwt_from_cookie() { function can_extract_jwt_from_query (line 236) | async fn can_extract_jwt_from_query() { function can_extract_jwt_with_multiple_locations_cookie_fallback (line 279) | async fn can_extract_jwt_with_multiple_locations_cookie_fallback() { function can_extract_jwt_with_multiple_locations_query_fallback (line 325) | async fn can_extract_jwt_with_multiple_locations_query_fallback() { function can_handle_multiple_locations_all_fail (line 370) | async fn can_handle_multiple_locations_all_fail() { function can_handle_cookie_location_missing_cookie (line 407) | async fn can_handle_cookie_location_missing_cookie() { function can_handle_query_location_missing_param (line 441) | async fn can_handle_query_location_missing_param() { function can_handle_jwt_with_wrong_algorithm (line 475) | async fn can_handle_jwt_with_wrong_algorithm() { function can_handle_jwt_with_invalid_signature (line 511) | async fn can_handle_jwt_with_invalid_signature() { function can_handle_malformed_jwt_structure (line 552) | async fn can_handle_malformed_jwt_structure() { function can_extract_jwt_from_cookie_with_special_chars (line 580) | async fn can_extract_jwt_from_cookie_with_special_chars() { function can_handle_cookie_with_empty_value (line 624) | async fn can_handle_cookie_with_empty_value() { function can_extract_jwt_from_query_with_special_chars (line 658) | async fn can_extract_jwt_from_query_with_special_chars() { function can_handle_query_with_empty_value (line 701) | async fn can_handle_query_with_empty_value() { function can_handle_query_with_spaces (line 734) | async fn can_handle_query_with_spaces() { function can_validate_error_message_for_missing_token (line 770) | async fn can_validate_error_message_for_missing_token() { function can_validate_error_message_for_invalid_token (line 802) | async fn can_validate_error_message_for_invalid_token() { function can_validate_error_message_for_malformed_header (line 835) | async fn can_validate_error_message_for_malformed_header() { function can_handle_jwt_expires_exactly_at_current_time (line 868) | async fn can_handle_jwt_expires_exactly_at_current_time() { function can_handle_jwt_expired_one_second_ago (line 903) | async fn can_handle_jwt_expired_one_second_ago() { function can_handle_jwt_expires_in_one_second (line 941) | async fn can_handle_jwt_expires_in_one_second() { function can_handle_jwt_with_missing_exp_claim (line 980) | async fn can_handle_jwt_with_missing_exp_claim() { function can_handle_jwt_with_invalid_exp_claim (line 1016) | async fn can_handle_jwt_with_invalid_exp_claim() { function can_handle_jwt_with_distant_future_expiration (line 1052) | async fn can_handle_jwt_with_distant_future_expiration() { function can_handle_jwt_with_epoch_expiration (line 1095) | async fn can_handle_jwt_with_epoch_expiration() { FILE: tests/controller/extractor/auth/jwt_with_user.rs type TestUserResponse (line 9) | pub struct TestUserResponse { type TestUser (line 17) | struct TestUser { method find_by_claims_key (line 24) | async fn find_by_claims_key( method find_by_api_key (line 39) | async fn find_by_api_key( function jwt_with_user_handler (line 56) | async fn jwt_with_user_handler(auth: auth::JWTWithUser) -> Res... function can_extract_jwt_with_user_valid_token (line 66) | async fn can_extract_jwt_with_user_valid_token() { function can_handle_jwt_with_user_invalid_token (line 109) | async fn can_handle_jwt_with_user_invalid_token() { function can_handle_jwt_with_user_nonexistent_user (line 141) | async fn can_handle_jwt_with_user_nonexistent_user() { function can_handle_jwt_with_user_missing_token (line 179) | async fn can_handle_jwt_with_user_missing_token() { FILE: tests/controller/extractor/shared_store.rs type MySharedData (line 9) | struct MySharedData { type MySharedDataWithoutClone (line 13) | struct MySharedDataWithoutClone { function test_shared_store_extractor (line 21) | async fn test_shared_store_extractor(#[case] exists: bool) { function test_shared_store_without_clone (line 58) | async fn test_shared_store_without_clone() { FILE: tests/controller/extractor/validate.rs type Data (line 8) | pub struct Data { function validation_with_response (line 15) | async fn validation_with_response( function simple_validation (line 21) | async fn simple_validation(JsonValidate(_params): JsonValidate) ->... function can_validation_with_response (line 26) | async fn can_validation_with_response() { function can_validation_without_response (line 61) | async fn can_validation_without_response() { FILE: tests/controller/from_ref.rs function can_extract_db_connection_from_app_context (line 18) | async fn can_extract_db_connection_from_app_context() { function can_extract_cache_from_app_context (line 45) | async fn can_extract_cache_from_app_context() { function can_extract_shared_store_from_app_context (line 72) | async fn can_extract_shared_store_from_app_context() { FILE: tests/controller/into_response.rs function not_found (line 7) | async fn not_found() { function internal_server_error (line 38) | async fn internal_server_error() { function unauthorized (line 69) | async fn unauthorized() { function fallback (line 100) | async fn fallback() { function custom_error (line 131) | async fn custom_error() { function json_rejection (line 169) | async fn json_rejection() { FILE: tests/controller/middlewares.rs function panic (line 23) | async fn panic(#[case] enable: bool) { function etag (line 56) | async fn etag(#[case] enable: bool) { function remote_ip (line 88) | async fn remote_ip(#[case] enable: bool, #[case] expected: &str) { function timeout (line 123) | async fn timeout(#[case] enable: bool) { function cors (line 158) | async fn cors( function limit_payload (line 222) | async fn limit_payload(#[case] limit: middleware::limit_payload::Default... function static_assets (line 254) | async fn static_assets() { function secure_headers (line 317) | async fn secure_headers( function fallback (line 367) | async fn fallback( function powered_by_header (line 437) | async fn powered_by_header(#[case] ident: Option) { FILE: tests/infra_cfg/server.rs function get_action (line 12) | async fn get_action() -> Result { function post_action (line 17) | async fn post_action(_body: axum::body::Bytes) -> Result { function start_from_boot (line 26) | pub async fn start_from_boot( function start_from_ctx (line 49) | pub async fn start_from_ctx(ctx: AppContext, port: Option) -> tokio... function start_with_route (line 71) | pub async fn start_with_route( FILE: xtask/src/bin/main.rs type Cli (line 13) | struct Cli { type Commands (line 19) | enum Commands { function main (line 39) | fn main() -> eyre::Result<()> { FILE: xtask/src/bump_version.rs function get_replace_loco_lib_version (line 21) | fn get_replace_loco_lib_version() -> &'static Regex { function get_replace_loco_package_version (line 30) | fn get_replace_loco_package_version() -> &'static Regex { type BumpVersion (line 34) | pub struct BumpVersion { method run (line 45) | pub fn run(&self) -> Result<()> { method bump_loco_framework (line 89) | fn bump_loco_framework(&self, path: &str) -> Result<()> { method bump_subcrates_version (line 115) | fn bump_subcrates_version(&self, crates: &[&str]) -> Result<()> { method modify_starters_loco_version (line 160) | pub fn modify_starters_loco_version(&self, replace_with: &str) -> Resu... method replace_loco_rs_version (line 171) | fn replace_loco_rs_version(path: &Path, replace_with: &str) -> Result<... FILE: xtask/src/ci.rs constant FMT_TEST (line 10) | const FMT_TEST: [&str; 3] = ["test", "--all-features", "--all"]; constant FMT_ARGS (line 11) | const FMT_ARGS: [&str; 2] = ["fmt", "--all"]; constant FMT_CLIPPY (line 12) | const FMT_CLIPPY: [&str; 8] = [ type RunResults (line 24) | pub struct RunResults { method is_valid (line 33) | pub fn is_valid(&self) -> bool { function all_resources (line 42) | pub fn all_resources(base_dir: &Path) -> Result> { function run_all_in_folder (line 58) | pub fn run_all_in_folder(root_folder: &Path) -> Result> { function run (line 74) | pub fn run(dir: &Path) -> Option { function cargo_test (line 88) | pub fn cargo_test(dir: &Path, serial: bool) -> Result { function cargo_fmt (line 104) | pub fn cargo_fmt(dir: &Path) -> Result { function cargo_clippy (line 114) | pub fn cargo_clippy(dir: &Path) -> Result { FILE: xtask/src/errors.rs type Error (line 3) | pub enum Error { type Result (line 18) | pub type Result = std::result::Result; FILE: xtask/src/lib.rs type CmdExit (line 11) | pub struct CmdExit { method error_with_message (line 18) | pub fn error_with_message(message: &str) -> Self { method ok_with_message (line 26) | pub fn ok_with_message(message: &str) -> Self { method ok (line 34) | pub const fn ok() -> Self { method exit (line 41) | pub fn exit(&self) { FILE: xtask/src/out.rs function print_ci_results (line 5) | pub fn print_ci_results(result: &Vec) -> String { FILE: xtask/src/prompt.rs function confirmation (line 5) | pub fn confirmation(message: &str) -> eyre::Result { FILE: xtask/src/utils.rs constant FOLDER_EXAMPLES (line 6) | pub const FOLDER_EXAMPLES: &str = "examples"; constant FOLDER_STARTERS (line 7) | pub const FOLDER_STARTERS: &str = "starters"; constant FOLDER_LOCO_CLI (line 8) | pub const FOLDER_LOCO_CLI: &str = "loco-cli"; function get_cargo_folders (line 14) | pub fn get_cargo_folders(path: &Path) -> std::io::Result> { FILE: xtask/src/versions.rs function bump_version_in_file (line 14) | fn bump_version_in_file( function bump_version (line 43) | pub fn bump_version(version: &str) -> Result<()> {