pub struct Error { /* private fields */ }
Expand description
Error representation.
Implementations§
Source§impl Error
impl Error
Sourcepub fn not_implemented() -> Self
pub fn not_implemented() -> Self
Create an error of a given type.
Sourcepub fn incorrect_allocation_size() -> Self
pub fn incorrect_allocation_size() -> Self
Create an error of a given type.
Sourcepub fn path_is_too_long() -> Self
pub fn path_is_too_long() -> Self
Create an error of a given type.
Sourcepub fn allocation_failure() -> Self
pub fn allocation_failure() -> Self
Create an error of a given type.
Sourcepub fn array_is_full() -> Self
pub fn array_is_full() -> Self
Create an error of a given type.
Sourcepub fn magic_mismatch() -> Self
pub fn magic_mismatch() -> Self
Create an error of a given type.
Sourcepub fn data_file_not_initialized() -> Self
pub fn data_file_not_initialized() -> Self
Create an error of a given type.
Sourcepub fn lock_error() -> Self
pub fn lock_error() -> Self
Create an error of a given type.
Sourcepub fn failed_to_build_path() -> Self
pub fn failed_to_build_path() -> Self
Create an error of a given type.
Sourcepub fn file_id_overflow() -> Self
pub fn file_id_overflow() -> Self
Create an error of a given type.
Sourcepub fn extent_limit_reached() -> Self
pub fn extent_limit_reached() -> Self
Create an error of a given type.
Sourcepub fn incorrect_extent_size() -> Self
pub fn incorrect_extent_size() -> Self
Create an error of a given type.
Sourcepub fn incorrect_block_size() -> Self
pub fn incorrect_block_size() -> Self
Create an error of a given type.
Sourcepub fn incorrect_extent_settings() -> Self
pub fn incorrect_extent_settings() -> Self
Create an error of a given type.
Sourcepub fn logger_is_terminated() -> Self
pub fn logger_is_terminated() -> Self
Create an error of a given type.
Sourcepub fn file_not_opened() -> Self
pub fn file_not_opened() -> Self
Create an error of a given type.
Sourcepub fn extent_does_not_exist() -> Self
pub fn extent_does_not_exist() -> Self
Create an error of a given type.
Sourcepub fn file_does_not_exist() -> Self
pub fn file_does_not_exist() -> Self
Create an error of a given type.
Sourcepub fn block_does_not_exist() -> Self
pub fn block_does_not_exist() -> Self
Create an error of a given type.
Sourcepub fn object_does_not_exist() -> Self
pub fn object_does_not_exist() -> Self
Create an error of a given type.
Sourcepub fn object_is_deleted() -> Self
pub fn object_is_deleted() -> Self
Create an error of a given type.
Sourcepub fn unexpected_checkpoint() -> Self
pub fn unexpected_checkpoint() -> Self
Create an error of a given type.
Sourcepub fn block_checksum_mismatch() -> Self
pub fn block_checksum_mismatch() -> Self
Create an error of a given type.
Sourcepub fn db_size_limit_reached() -> Self
pub fn db_size_limit_reached() -> Self
Create an error of a given type.
Sourcepub fn try_lock_error() -> Self
pub fn try_lock_error() -> Self
Create an error of a given type.
Sourcepub fn block_crc_mismatch() -> Self
pub fn block_crc_mismatch() -> Self
Create an error of a given type.
Sourcepub fn checkpoint_store_size_limit_reached() -> Self
pub fn checkpoint_store_size_limit_reached() -> Self
Create an error of a given type.
Source§impl Error
impl Error
Sourcepub fn utf8_validation_error(e: Utf8Error) -> Self
pub fn utf8_validation_error(e: Utf8Error) -> Self
Create an error of a given type.
Sourcepub fn incorrect_layout(e: LayoutErr) -> Self
pub fn incorrect_layout(e: LayoutErr) -> Self
Create an error of a given type.
Sourcepub fn slice_conversion_error(e: TryFromSliceError) -> Self
pub fn slice_conversion_error(e: TryFromSliceError) -> Self
Create an error of a given type.
Sourcepub fn string_parse_error(e: ParseIntError) -> Self
pub fn string_parse_error(e: ParseIntError) -> Self
Create an error of a given type.
Sourcepub fn time_operation_error(e: SystemTimeError) -> Self
pub fn time_operation_error(e: SystemTimeError) -> Self
Create an error of a given type.