Skip to main content

iso9660_stat_s

Struct iso9660_stat_s 

Source
#[repr(C)]
pub struct iso9660_stat_s { pub rr: iso_rock_statbuf_t, pub tm: tm, pub lsn: lsn_t, pub size: u32, pub secsize: u32, pub total_size: u64, pub xa: iso9660_xa_t, pub type_: iso9660_stat_s__bindgen_ty_1, pub b_xa: bool, pub filename: __IncompleteArrayField<c_char>, }
Expand description

\brief Unix stat-like version of iso9660_dir

The iso9660_stat structure is not part of the ISO-9660 specification. We use it for our to communicate information in a C-library friendly way, e.g struct tm time structures and a C-style filename string.

@see iso9660_dir

Fields§

§rr: iso_rock_statbuf_t

< Rock Ridge-specific fields

§tm: tm

< time on entry - FIXME merge with one of entries above, like ctime?

§lsn: lsn_t

< start logical sector number

§size: u32

< size of the first extent, in bytes

§secsize: u32

< size of the first extent, in sectors

§total_size: u64§xa: iso9660_xa_t

< XA attributes

§type_: iso9660_stat_s__bindgen_ty_1§b_xa: bool§filename: __IncompleteArrayField<c_char>

< filename

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.