pub struct Compiled {
pub program: Program,
pub layout: Layout,
pub options: Options,
pub ssrange: bool,
}Fields§
§program: Program§layout: Layout§options: Options§ssrange: boolImplementations§
Source§impl Compiled
impl Compiled
pub fn run( &self, out: &mut dyn Write, err: &mut dyn Write, ) -> Result<Ending, Abend>
Sourcepub fn run_with(
&self,
dds: Dds,
out: &mut dyn Write,
err: &mut dyn Write,
) -> Result<Ending, Abend>
pub fn run_with( &self, dds: Dds, out: &mut dyn Write, err: &mut dyn Write, ) -> Result<Ending, Abend>
Runs with the DDs that ASSIGN names map to.
Sourcepub fn execute<'w>(
&self,
library: Library,
dds: Dds,
sysin: Option<Box<dyn BufRead + 'w>>,
clock: Clock,
out: &'w mut dyn Write,
err: &'w mut dyn Write,
) -> Result<(Ending, i16), Abend>
pub fn execute<'w>( &self, library: Library, dds: Dds, sysin: Option<Box<dyn BufRead + 'w>>, clock: Clock, out: &'w mut dyn Write, err: &'w mut dyn Write, ) -> Result<(Ending, i16), Abend>
Runs as the first program of a run unit: CALL finds other programs in library, ACCEPT
reads sysin. Returns how the run ended and RETURN-CODE.
Source§impl Compiled
impl Compiled
Sourcepub fn execute_cics<'w>(
&self,
library: Library,
dds: Dds,
task: Task,
clock: Clock,
out: &'w mut dyn Write,
err: &'w mut dyn Write,
) -> Result<(Ending, Task), Abend>
pub fn execute_cics<'w>( &self, library: Library, dds: Dds, task: Task, clock: Clock, out: &'w mut dyn Write, err: &'w mut dyn Write, ) -> Result<(Ending, Task), Abend>
Runs as the first program of a CICS task. task says who started it, what COMMAREA it
starts with, and what files and queues it has. Returns how the run ended and the task, with
RETURN TRANSID and COMMAREA if it ended that way.
Auto Trait Implementations§
impl Freeze for Compiled
impl RefUnwindSafe for Compiled
impl Send for Compiled
impl Sync for Compiled
impl Unpin for Compiled
impl UnsafeUnpin for Compiled
impl UnwindSafe for Compiled
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