pub enum RandomAccessError {
OutOfBounds {
offset: u64,
end: Option<u64>,
length: u64,
},
IO {
return_code: Option<i32>,
context: Option<String>,
source: Error,
},
}
Expand description
Error type for the RandomAccess trait methods.
Variants§
Trait Implementations§
source§impl Debug for RandomAccessError
impl Debug for RandomAccessError
source§impl Display for RandomAccessError
impl Display for RandomAccessError
source§impl Error for RandomAccessError
impl Error for RandomAccessError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()