pub struct InnerApplication { /* private fields */ }
Expand description
This struct is the information holder for the application. IT contains mainly the registered methods and does the main routing for calls.
Implementations§
Source§impl InnerApplication
impl InnerApplication
Sourcepub fn call(&self, context: MethodCall) -> MethodResult
pub fn call(&self, context: MethodCall) -> MethodResult
Dispatches a MethodCall.
This will always return a Result which can be send back to the client. However it may contain
an error response. You can check this by reading the code
field.
Trait Implementations§
Source§impl Default for InnerApplication
impl Default for InnerApplication
Source§fn default() -> InnerApplication
fn default() -> InnerApplication
Returns the “default value” for a type. Read more
impl Send for InnerApplication
impl Sync for InnerApplication
Auto Trait Implementations§
impl Freeze for InnerApplication
impl !RefUnwindSafe for InnerApplication
impl Unpin for InnerApplication
impl !UnwindSafe for InnerApplication
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