SYMBOL INDEX (178 symbols across 14 files) FILE: examples/delete_method.rs function main (line 2) | fn main() { function main (line 7) | fn main() { FILE: examples/hello.rs function main (line 3) | fn main() { FILE: examples/list.rs function main (line 5) | fn main() { function main (line 13) | fn main() { FILE: examples/metadata.rs function main (line 5) | fn main() { function main (line 13) | fn main() { FILE: examples/trash.rs function main (line 8) | fn main() { FILE: src/freedesktop.rs type FsError (line 26) | type FsError = (PathBuf, std::io::Error); type PlatformTrashContext (line 29) | pub struct PlatformTrashContext; method new (line 31) | pub const fn new() -> Self { method delete_all_canonicalized (line 36) | pub(crate) fn delete_all_canonicalized(&self, full_paths: Vec) ... function list (line 62) | pub fn list() -> Result, Error> { function is_empty (line 197) | pub fn is_empty() -> Result { function trash_folders (line 223) | pub fn trash_folders() -> Result, Error> { type EvaluatedTrashFolders (line 238) | struct EvaluatedTrashFolders { function eval_trash_folders (line 244) | fn eval_trash_folders() -> Result { function metadata (line 281) | pub fn metadata(item: &TrashItem) -> Result { function virtually_exists (line 304) | fn virtually_exists(path: &Path) -> std::io::Result { constant MISSING_TRASH_FILE (line 308) | const MISSING_TRASH_FILE: &str = "trash item referenced by .trashinfo is... function ensure_virtually_exists (line 314) | fn ensure_virtually_exists(path: &Path) -> Result<(), Error> { function purge_all (line 322) | pub fn purge_all(items: I) -> Result<(), Error> function restorable_file_in_trash_from_info_file (line 348) | fn restorable_file_in_trash_from_info_file(info_file: impl AsRef(items: I) -> Result<(), Error> function execute_on_mounted_trash_folders (line 417) | fn execute_on_mounted_trash_folders Result<(), FsEr... function move_to_trash (line 460) | fn move_to_trash( function move_items_no_replace (line 560) | fn move_items_no_replace(src: impl AsRef, dst: impl AsRef) -... function try_creating_placeholders (line 593) | fn try_creating_placeholders(src: impl AsRef, dst: impl AsRef, dst: impl AsRef) -> Result<... function decode_uri_path (line 634) | fn decode_uri_path(path: impl AsRef) -> PathBuf { function encode_uri_path (line 641) | fn encode_uri_path(path: impl AsRef) -> String { type TrashValidity (line 662) | enum TrashValidity { function folder_validity (line 668) | fn folder_validity(path: impl AsRef) -> Result Result { function get_first_topdir_containing_path (line 704) | fn get_first_topdir_containing_path<'a>(path: &Path, mnt_points: &'a [Mo... function canonicalize_path_or_parents (line 711) | fn canonicalize_path_or_parents(mut path: &Path) -> Result Result, Error> { function get_mount_points (line 747) | fn get_mount_points() -> Result, Error> { function get_mount_points (line 803) | fn get_mount_points() -> Result, Error> { function get_mount_points (line 857) | fn get_mount_points() -> Result, Error> { function get_mount_points (line 918) | fn get_mount_points() -> Result, Error> { function test_list (line 952) | fn test_list() { function test_broken_symlinks (line 1002) | fn test_broken_symlinks() { function uri_enc_dec_roundtrip (line 1038) | fn uri_enc_dec_roundtrip() { function uri_enc_dec_roundtrip_invalid_unicode (line 1049) | fn uri_enc_dec_roundtrip_invalid_unicode() { function test_canonicalize_path_or_parents (line 1066) | fn test_canonicalize_path_or_parents() { type SystemTrashError (line 1351) | pub enum SystemTrashError { method fmt (line 1356) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function is_program_in_path (line 1362) | fn is_program_in_path(program: &str) -> bool { function delete_all_canonicalized_using_system_program (line 1376) | pub fn delete_all_canonicalized_using_system_program(full_paths: Vec(paths: I) -> Result<(), Sys... type DesktopEnvironment (line 1436) | enum DesktopEnvironment { function env_has_var (line 1450) | fn env_has_var(name: &str) -> bool { function get_desktop_environment (line 1455) | fn get_desktop_environment() -> DesktopEnvironment { function fs_error (line 1542) | fn fs_error(path: impl Into, source: std::io::Error) -> Error { FILE: src/lib.rs constant DEFAULT_TRASH_CTX (line 57) | pub const DEFAULT_TRASH_CTX: TrashContext = TrashContext::new(); type TrashContext (line 61) | pub struct TrashContext { method new (line 66) | pub const fn new() -> Self { method delete (line 84) | pub fn delete>(&self, path: T) -> Result<(), Error> { method delete_all (line 104) | pub fn delete_all(&self, paths: I) -> Result<(), Error> function delete (line 119) | pub fn delete>(path: T) -> Result<(), Error> { function delete_all (line 126) | pub fn delete_all(paths: I) -> Result<(), Error> type Error (line 136) | pub enum Error { method fmt (line 211) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 216) | fn source(&self) -> Option<&(dyn error::Error + 'static)> { function into_unknown (line 224) | pub fn into_unknown(err: E) -> Error { function canonicalize_paths (line 228) | pub(crate) fn canonicalize_paths(paths: I) -> Result,... type TrashItem (line 265) | pub struct TrashItem { method original_path (line 296) | pub fn original_path(&self) -> PathBuf { method eq (line 301) | fn eq(&self, other: &Self) -> bool { method hash (line 307) | fn hash(&self, state: &mut H) { type TrashItemSize (line 314) | pub enum TrashItemSize { method size (line 323) | pub fn size(&self) -> Option { method entries (line 331) | pub fn entries(&self) -> Option { type TrashItemMetadata (line 341) | pub struct TrashItemMetadata { function list (line 373) | pub fn list() -> Result, Error> { function is_empty (line 391) | pub fn is_empty() -> Result { function trash_folders (line 411) | pub fn trash_folders() -> Result, Error> { function metadata (line 426) | pub fn metadata(item: &TrashItem) -> Result { function purge_all (line 466) | pub fn purge_all(items: I) -> Result<(), Error> function restore_all (line 519) | pub fn restore_all(items: I) -> Result<(), Error> FILE: src/macos/mod.rs type DeleteMethod (line 22) | pub enum DeleteMethod { method new (line 46) | pub const fn new() -> Self { method default (line 51) | fn default() -> Self { type PlatformTrashContext (line 56) | pub struct PlatformTrashContext { method new (line 60) | pub const fn new() -> Self { type TrashContextExtMacos (line 64) | pub trait TrashContextExtMacos { method set_delete_method (line 65) | fn set_delete_method(&mut self, method: DeleteMethod); method delete_method (line 66) | fn delete_method(&self) -> DeleteMethod; method set_delete_method (line 69) | fn set_delete_method(&mut self, method: DeleteMethod) { method delete_method (line 72) | fn delete_method(&self) -> DeleteMethod { method delete_all_canonicalized (line 77) | pub(crate) fn delete_all_canonicalized(&self, full_paths: Vec) ... function delete_using_file_mgr (line 85) | fn delete_using_file_mgr>(full_paths: &[P]) -> Result<(),... function delete_using_finder (line 112) | fn delete_using_finder>(full_paths: &[P]) -> Result<(), E... function percent_encode (line 158) | fn percent_encode(input: &[u8]) -> Cow<'_, str> { function esc_quote (line 184) | fn esc_quote(s: &str) -> Cow<'_, str> { FILE: src/macos/tests.rs function test_delete_with_finder_quoted_paths (line 15) | fn test_delete_with_finder_quoted_paths() { function test_delete_with_ns_file_manager (line 33) | fn test_delete_with_ns_file_manager() { function test_delete_binary_path_with_ns_file_manager (line 46) | fn test_delete_binary_path_with_ns_file_manager() { function test_path_byte (line 67) | fn test_path_byte() { function create_hfs_volume (line 81) | fn create_hfs_volume() -> std::io::Result<(impl Drop, tempfile::TempDir)> { FILE: src/tests.rs function get_unique_name (line 12) | pub fn get_unique_name() -> String { function init_logging (line 17) | pub fn init_logging() { function list (line 42) | fn list() { function list_invalid_utf8 (line 103) | fn list_invalid_utf8() { function purge_empty (line 118) | fn purge_empty() { function restore_empty (line 124) | fn restore_empty() { function purge (line 131) | fn purge() { function restore (line 162) | fn restore() { function restore_collision (line 203) | fn restore_collision() { function restore_twins (line 261) | fn restore_twins() { function is_empty_matches_list (line 293) | fn is_empty_matches_list() { FILE: src/windows.rs constant SCID_ORIGINAL_LOCATION (line 17) | const SCID_ORIGINAL_LOCATION: PROPERTYKEY = PROPERTYKEY { fmtid: PSGUID_... constant SCID_DATE_DELETED (line 18) | const SCID_DATE_DELETED: PROPERTYKEY = PROPERTYKEY { fmtid: PSGUID_DISPL... method from (line 21) | fn from(err: windows::core::Error) -> Error { function to_wide_path (line 26) | fn to_wide_path(path: impl AsRef) -> Vec { type PlatformTrashContext (line 31) | pub struct PlatformTrashContext; method new (line 33) | pub const fn new() -> Self { method delete_specified_canonicalized (line 39) | pub(crate) fn delete_specified_canonicalized(&self, full_paths: Vec) ... function list (line 80) | pub fn list() -> Result, Error> { function is_empty (line 129) | pub fn is_empty() -> Result { function metadata (line 144) | pub fn metadata(item: &TrashItem) -> Result { function purge_all (line 179) | pub fn purge_all(items: I) -> Result<(), Error> function restore_all (line 203) | pub fn restore_all(items: I) -> Result<(), Error> function get_display_name (line 243) | unsafe fn get_display_name(psi: &IShellItem, sigdnname: SIGDN) -> Result... function wstr_to_os_string (line 250) | unsafe fn wstr_to_os_string(wstr: PWSTR) -> OsString { function get_date_deleted_unix (line 259) | unsafe fn get_date_deleted_unix(item: &IShellItem2) -> Result { type CoInitializer (line 272) | struct CoInitializer {} method new (line 274) | fn new() -> CoInitializer { method drop (line 305) | fn drop(&mut self) { function ensure_com_initialized (line 316) | fn ensure_com_initialized() { FILE: tests/freedesktop_tests.rs constant IMAGE (line 21) | const IMAGE: &str = "ubuntu"; constant TAG (line 22) | const TAG: &str = "24.04"; constant HELPER_PATH (line 23) | const HELPER_PATH: &str = "/usr/local/bin/trash"; function find_trash_binary (line 31) | fn find_trash_binary() -> PathBuf { type TestContainer (line 43) | struct TestContainer { method start (line 49) | async fn start() -> Self { method exec_cmd (line 72) | async fn exec_cmd(&self, cmd: &str) -> i64 { method exec_ok (line 95) | async fn exec_ok(&self, cmd: &str) { method delete (line 102) | async fn delete(&self, env_vars: &[&str], path: &str) -> i64 { method path_is_file (line 112) | async fn path_is_file(&self, path: &str) -> bool { method path_exists (line 116) | async fn path_exists(&self, path: &str) -> bool { function trash_is_dir (line 128) | async fn trash_is_dir() { function trash_is_file (line 145) | async fn trash_is_file() { function trash_is_symlink_to_dir (line 163) | async fn trash_is_symlink_to_dir() { function trash_is_symlink_to_file (line 187) | async fn trash_is_symlink_to_file() { function trash_is_symlink_to_nonexistent (line 210) | async fn trash_is_symlink_to_nonexistent() { function trash_is_mount (line 236) | async fn trash_is_mount() { function trash_complex_mounts_with_symlink (line 276) | async fn trash_complex_mounts_with_symlink() { function trash_complex_mounts_home_trash_via_symlink (line 334) | async fn trash_complex_mounts_home_trash_via_symlink() { type ComplexMount (line 366) | enum ComplexMount { method label (line 372) | const fn label(self) -> &'static str { method direct_home (line 379) | const fn direct_home(self) -> &'static str { method symlink_home (line 386) | const fn symlink_home(self) -> &'static str { method trash_dir (line 393) | const fn trash_dir(self) -> &'static str { method other (line 400) | const fn other(self) -> Self { method home (line 407) | fn home(self, access: AccessPath) -> &'static str { method file_path (line 414) | fn file_path(self, access: AccessPath, file_name: &str) -> String { type AccessPath (line 420) | enum AccessPath { method label (line 426) | const fn label(self) -> &'static str { function setup_complex_mount_permutation_layout (line 434) | async fn setup_complex_mount_permutation_layout(container: &TestContaine... function assert_complex_mount_permutation (line 449) | async fn assert_complex_mount_permutation( function trash_complex_mounts_home_trash_permutations (line 492) | async fn trash_complex_mounts_home_trash_permutations() { function trash_complex_mounts_per_mount_trash_permutations (line 508) | async fn trash_complex_mounts_per_mount_trash_permutations() { FILE: tests/isolated.rs function delete_with_empty_path (line 4) | fn delete_with_empty_path() { FILE: tests/trash.rs function get_unique_name (line 18) | pub fn get_unique_name() -> String { function init_logging (line 23) | pub fn init_logging() { function test_delete_file (line 31) | fn test_delete_file() { function test_delete_folder (line 45) | fn test_delete_folder() { function test_delete_all (line 61) | fn test_delete_all() { function test_delete_symlink (line 93) | fn test_delete_symlink() { function test_delete_symlink_in_folder (line 112) | fn test_delete_symlink_in_folder() { function create_remove_single_file (line 135) | fn create_remove_single_file() { function create_remove_single_file_invalid_utf8 (line 146) | fn create_remove_single_file_invalid_utf8() { function recursive_file_deletion (line 154) | fn recursive_file_deletion() { function recursive_file_with_content_deletion (line 168) | fn recursive_file_with_content_deletion() {