Struct aldrin::FunctionCall
source · pub struct FunctionCall {
pub id: u32,
pub args: SerializedValue,
pub reply: FunctionCallReply,
}
Expand description
Function call received by a service.
FunctionCall
s can be received with the Stream
implementation of
Service
.
See Service
for usage examples.
Fields§
§id: u32
Id of the called function.
args: SerializedValue
Arguments passed to called function.
reply: FunctionCallReply
Reply object, used to set the return value of the function call.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionCall
impl !RefUnwindSafe for FunctionCall
impl Send for FunctionCall
impl Sync for FunctionCall
impl Unpin for FunctionCall
impl !UnwindSafe for FunctionCall
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