Struct plumber_rs::servlet::Unimplemented [−][src]
pub struct Unimplemented {}
The placeholder for a servlet that is not implemented
To implement bootstrap trait, a type needs to give both AsyncServletType
and SyncServletType
However, not all servlet supports the both mode. This placeholder can be used when the servlet
doesn't support the mode.
Trait Implementations
impl SyncServlet for Unimplemented
[src]
impl SyncServlet for Unimplemented
type ProtocolType = Untyped
The type used to represent the protocol. Read more
type DataModelType = Untyped
fn init(
&mut self,
_args: &[&str],
_type_inst: &mut Untyped
) -> ServletFuncResult
[src]
fn init(
&mut self,
_args: &[&str],
_type_inst: &mut Untyped
) -> ServletFuncResult
The initialization function. Read more
fn exec(&mut self, _ti: Untyped) -> ServletFuncResult
[src]
fn exec(&mut self, _ti: Untyped) -> ServletFuncResult
The sync execute function. Read more
fn cleanup(&mut self) -> ServletFuncResult
[src]
fn cleanup(&mut self) -> ServletFuncResult
The cleanup function Read more
impl AsyncServlet for Unimplemented
[src]
impl AsyncServlet for Unimplemented
type ProtocolType = ()
type DataModelType = ()
type AsyncTaskData = ()
The private data buffer used by the async buffer. Read more
fn init(&mut self, _args: &[&str], _type_inst: &mut ()) -> ServletFuncResult
[src]
fn init(&mut self, _args: &[&str], _type_inst: &mut ()) -> ServletFuncResult
The initialization function. Read more
fn async_init(&mut self, _handle: &AsyncTaskHandle, _ti: ()) -> Option<Box<()>>
[src]
fn async_init(&mut self, _handle: &AsyncTaskHandle, _ti: ()) -> Option<Box<()>>
Initialize the async task. Read more
fn async_exec(
_handle: &AsyncTaskHandle,
_task_data: &mut Self::AsyncTaskData
) -> ServletFuncResult
[src]
fn async_exec(
_handle: &AsyncTaskHandle,
_task_data: &mut Self::AsyncTaskData
) -> ServletFuncResult
Run the execution task. Read more
fn async_cleanup(
&mut self,
_handle: &AsyncTaskHandle,
_task_data: &mut Self::AsyncTaskData,
_ti: ()
) -> ServletFuncResult
[src]
fn async_cleanup(
&mut self,
_handle: &AsyncTaskHandle,
_task_data: &mut Self::AsyncTaskData,
_ti: ()
) -> ServletFuncResult
The finalization step of an async task. Read more
fn cleanup(&mut self) -> ServletFuncResult
[src]
fn cleanup(&mut self) -> ServletFuncResult
The cleanup function Read more
Auto Trait Implementations
impl Send for Unimplemented
impl Send for Unimplemented
impl Sync for Unimplemented
impl Sync for Unimplemented