pub struct PhpExecutor;Implementations§
Source§impl PhpExecutor
impl PhpExecutor
pub(crate) fn exec_php( file: &str, params_value: &Value, callback_name: &str, schema: Option<&Value>, schema_data: Option<&Value>, venv_path: Option<&str>, fpm_endpoint: &str, ) -> Result<Value, BifError>
fn bridge_path_for(file: &str) -> Result<String, BifError>
fn ensure_bridge_script(bridge_path: &str) -> Result<(), BifError>
fn parse_endpoint(endpoint: &str) -> Result<FpmEndpoint, String>
fn connect_endpoint(endpoint: &FpmEndpoint) -> Result<FpmStream, String>
fn send_fastcgi_request( stream: &mut FpmStream, body: &[u8], bridge_path: &str, ) -> Result<(), String>
fn read_fastcgi_response( stream: &mut FpmStream, ) -> Result<(String, String), String>
fn extract_http_body(stdout: &str) -> &str
fn write_record( stream: &mut FpmStream, record_type: u8, request_id: u16, content: &[u8], ) -> Result<(), String>
fn write_name_value_pair( out: &mut Vec<u8>, name: &[u8], value: &[u8], ) -> Result<(), String>
fn write_length(out: &mut Vec<u8>, len: usize) -> Result<(), String>
Auto Trait Implementations§
impl Freeze for PhpExecutor
impl RefUnwindSafe for PhpExecutor
impl Send for PhpExecutor
impl Sync for PhpExecutor
impl Unpin for PhpExecutor
impl UnwindSafe for PhpExecutor
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