Skip to main content

Loaded

Struct Loaded 

Source
pub struct Loaded<H> {
Show 13 fields pub compiled: Option<H>, pub name: String, pub base: usize, pub size: usize, pub placed: bool, pub files: Vec<Option<Open>>, pub locked: Vec<bool>, pub initialized: bool, pub active: bool, pub dynamic: bool, pub entry: Option<usize>, pub altered: Vec<Option<usize>>, pub source: Option<PathBuf>,
}

Fields§

§compiled: Option<H>

None for the first program, which the caller of the run unit owns.

§name: String§base: usize§size: usize§placed: bool

False once a CICS run unit has set the program’s storage at base aside, or has ended and released it: its next activation gets storage of its own.

§files: Vec<Option<Open>>§locked: Vec<bool>

The files CLOSE WITH LOCK has closed, which OPEN refuses with status 38.

§initialized: bool§active: bool§dynamic: bool

A dynamic CALL has entered it, so CANCEL acts on it.

§entry: Option<usize>

For a copy a dynamic CALL of an ENTRY name loaded, that entry (numbered as Loader::entry numbers them); None for the program loaded by its PROGRAM-ID.

§altered: Vec<Option<usize>>

Where each paragraph’s GO TO goes since an ALTER, by paragraph; empty until one runs.

§source: Option<PathBuf>

The library file CALL loaded the program from; None for the programs of the first source.

Implementations§

Source§

impl<H> Loaded<H>

Source

pub fn new( compiled: Option<H>, name: String, base: usize, size: usize, files: usize, ) -> Self

A program with files files and size bytes of storage at base, in its initial state.

Auto Trait Implementations§

§

impl<H> Freeze for Loaded<H>
where Option<H>: Freeze,

§

impl<H> RefUnwindSafe for Loaded<H>

§

impl<H> Send for Loaded<H>
where Option<H>: Send,

§

impl<H> Sync for Loaded<H>
where Option<H>: Sync,

§

impl<H> Unpin for Loaded<H>
where Option<H>: Unpin,

§

impl<H> UnsafeUnpin for Loaded<H>
where Option<H>: UnsafeUnpin,

§

impl<H> UnwindSafe for Loaded<H>
where Option<H>: UnwindSafe,

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 = !

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

fn try_from(value: U) -> Result<T, !>

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.