pub struct File<'a, P, X> {Show 14 fields
pub index: usize,
pub name: &'a str,
pub assign: &'a str,
pub organization: Organization,
pub access: Access,
pub optional: bool,
pub format: Format,
pub status: Option<P>,
pub relative: Option<P>,
pub linage: Option<Linage<X>>,
pub carriage: Option<Carriage>,
pub area: (usize, usize),
pub read_lengths: (usize, usize),
pub depending: Option<Depending<P>>,
}Expand description
A file as SELECT and FD declare it (crate::lir::FileDesc), with the executor’s handles: P
a data item, X an integer it evaluates. Its keys are the executor’s to resolve
(Files::keying).
Fields§
§index: usize§name: &'a str§assign: &'a strThe DD name ASSIGN gives.
organization: Organization§access: Access§optional: bool§format: FormatHow records are held when the DD does not say.
status: Option<P>§relative: Option<P>§linage: Option<Linage<X>>§carriage: Option<Carriage>§area: (usize, usize)Where the record area is in run-unit memory, and its length.
read_lengths: (usize, usize)The shortest and longest variable-length record a READ takes without a record length
conflict (crate::lir::FileDesc::read_lengths).
depending: Option<Depending<P>>Trait Implementations§
impl<'a, P: Copy, X: Copy> Copy for File<'a, P, X>
Auto Trait Implementations§
impl<'a, P, X> Freeze for File<'a, P, X>
impl<'a, P, X> RefUnwindSafe for File<'a, P, X>where
Option<P>: RefUnwindSafe,
Option<Linage<X>>: RefUnwindSafe,
Option<Depending<P>>: RefUnwindSafe,
impl<'a, P, X> Send for File<'a, P, X>
impl<'a, P, X> Sync for File<'a, P, X>
impl<'a, P, X> Unpin for File<'a, P, X>
impl<'a, P, X> UnsafeUnpin for File<'a, P, X>
impl<'a, P, X> UnwindSafe for File<'a, P, X>
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