pub struct Script { /* private fields */ }Expand description
A script that has been parsed and is ready to run.
Compiling is separated from running because the two failures are different problems for a user to fix and happen at different points in the pipeline: a script that does not parse is a broken file, found before anything is sent, while a script that parses and then throws is a statement about this particular request or response.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Script
impl !Send for Script
impl !Sync for Script
impl !UnwindSafe for Script
impl Freeze for Script
impl Unpin for Script
impl UnsafeUnpin for Script
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