Lines Matching defs:ErrorCode

182 pub(crate) enum ErrorCode {  enum
354 fn from_raw_os_error(err: Option<i32>) -> Option<ErrorCode> { in from_raw_os_error()
395 fn from_raw_os_error(raw_os_error: Option<i32>) -> Option<ErrorCode> { in from_raw_os_error()
424 impl<'a> From<&'a std::io::Error> for ErrorCode { implementation
425 fn from(err: &'a std::io::Error) -> ErrorCode { in from()
442 impl From<std::io::Error> for ErrorCode { implementation
443 fn from(err: std::io::Error) -> ErrorCode { in from()
455 pub(crate) fn file(&self) -> Result<&File, ErrorCode> { in file() argument
462 pub(crate) fn dir(&self) -> Result<&Dir, ErrorCode> { in dir() argument
482 pub(crate) async fn sync_data(&self) -> Result<(), ErrorCode> { in sync_data() argument
511 pub(crate) async fn get_flags(&self) -> Result<DescriptorFlags, ErrorCode> { in get_flags() argument
553 pub(crate) async fn get_type(&self) -> Result<DescriptorType, ErrorCode> { in get_type() argument
567 ) -> Result<(), ErrorCode> { in set_times() argument
587 pub(crate) async fn sync(&self) -> Result<(), ErrorCode> { in sync() argument
616 pub(crate) async fn stat(&self) -> Result<DescriptorStat, ErrorCode> { in stat() argument
653 pub(crate) async fn metadata_hash(&self) -> Result<MetadataHashValue, ErrorCode> { in metadata_hash() argument
751 ) -> Result<(), ErrorCode> { in advise() argument
758 pub(crate) async fn set_size(&self, size: u64) -> Result<(), ErrorCode> { in set_size() argument
842 pub(crate) async fn create_directory_at(&self, path: String) -> Result<(), ErrorCode> { in create_directory_at() argument
854 ) -> Result<DescriptorStat, ErrorCode> { in stat_at() argument
874 ) -> Result<(), ErrorCode> { in set_times_at() argument
908 ) -> Result<(), ErrorCode> { in link_at() argument
931 ) -> Result<Descriptor, ErrorCode> { in open_at() argument
1071 pub(crate) async fn readlink_at(&self, path: String) -> Result<String, ErrorCode> { in readlink_at() argument
1081 pub(crate) async fn remove_directory_at(&self, path: String) -> Result<(), ErrorCode> { in remove_directory_at() argument
1094 ) -> Result<(), ErrorCode> { in rename_at() argument
1111 ) -> Result<(), ErrorCode> { in symlink_at() argument
1124 pub(crate) async fn unlink_file_at(&self, path: String) -> Result<(), ErrorCode> { in unlink_file_at() argument
1139 ) -> Result<MetadataHashValue, ErrorCode> { in metadata_hash_at() argument