Struct wasmbus_rpc::common::Message
source · [−]Expand description
A wasmcloud message
Fields
method: &'m str
Message name, usually in the form ‘Trait.method’
arg: Cow<'m, [u8]>
parameter serialized as a byte array. If the method takes no args, the array will be zero length.
Trait Implementations
Auto Trait Implementations
impl<'m> RefUnwindSafe for Message<'m>
impl<'m> Send for Message<'m>
impl<'m> Sync for Message<'m>
impl<'m> Unpin for Message<'m>
impl<'m> UnwindSafe for Message<'m>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more