Struct imageflow::Context
[−]
[src]
pub struct Context { /* fields omitted */ }
Methods
impl Context
[src]
fn create() -> Result<Box<Context>, FlowError>
fn abi_create_boxed() -> Result<Box<Context>, FlowError>
Used by abi; should not panic
fn abi_begin_terminate(&mut self) -> bool
Used by abi; should not panic
fn error_mut(&self) -> RefMut<ErrorBuffer>
fn error(&self) -> Ref<ErrorBuffer>
unsafe fn unsafe_c_context_pointer(&self) -> *mut ImageflowContext
fn message(&mut self,
method: &str,
json: &[u8])
-> Result<JsonResponse, FlowError>
method: &str,
json: &[u8])
-> Result<JsonResponse, FlowError>
fn create_job(&self) -> RefMut<Job>
fn abi_try_remove_job(&self, job: *const Job) -> bool
fn flow_c(&self) -> *mut ImageflowContext
fn c_error(&self) -> Option<FlowError>
fn create_io_from_copy_of_slice(&'a self,
bytes: &'a [u8])
-> Result<*mut ImageflowJobIo, FlowError>
bytes: &'a [u8])
-> Result<*mut ImageflowJobIo, FlowError>
fn create_io_from_slice(&'a self,
bytes: &'a [u8])
-> Result<*mut ImageflowJobIo, FlowError>
bytes: &'a [u8])
-> Result<*mut ImageflowJobIo, FlowError>
fn create_io_from_filename(&self,
path: &str,
dir: IoDirection)
-> Result<*mut ImageflowJobIo, FlowError>
path: &str,
dir: IoDirection)
-> Result<*mut ImageflowJobIo, FlowError>
fn create_io_output_buffer(&self) -> Result<*mut ImageflowJobIo, FlowError>
fn todo_remove_set_floatspace(&self, b: Floatspace)
fn create_abi_json_response(&mut self,
json_bytes: Cow<[u8]>,
status_code: i64)
-> *const ImageflowJsonResponse
json_bytes: Cow<[u8]>,
status_code: i64)
-> *const ImageflowJsonResponse
fn destroy_allowing_panics(self)
fn abi_destroy(self) -> bool
Trait Implementations
impl Drop for Context
[src]
fn drop(&mut self)
Used by abi; should not panic