#[repr(C)]pub struct heif_reader_range_request_result {
pub status: heif_reader_grow_status,
pub range_end: u64,
pub reader_error_code: c_int,
pub reader_error_msg: *const c_char,
}Fields§
§status: heif_reader_grow_statusshould not return ‘heif_reader_grow_status_timeout’
range_end: u64Indicates up to what position the file has been read. If we cannot read the whole file range (status == ‘heif_reader_grow_status_size_beyond_eof’), this is the actual end position. On the other hand, it may be that the reader was reading more data than requested. In that case, it should indicate the full size here and libheif may decide to make use of the additional data (e.g. for filling ‘tili’ offset tables).
reader_error_code: c_inta reader specific error code
reader_error_msg: *const c_charlibheif will call heif_reader.release_error_msg on this if it is not NULL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for heif_reader_range_request_result
impl RefUnwindSafe for heif_reader_range_request_result
impl !Send for heif_reader_range_request_result
impl !Sync for heif_reader_range_request_result
impl Unpin for heif_reader_range_request_result
impl UnwindSafe for heif_reader_range_request_result
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more