pub struct Message {
pub method: String,
pub to_server: bool,
}Expand description
A method as a call chose it: its type (none: the file’s), its name, which of the type’s methods of that name (in declaration order), its parameters and result as declared (its type parameters unbound). A call across sides: the file’s method it runs on the other side, and which way it goes.
Fields§
§method: String§to_server: boolFrom a client to the server (else from the server to a client).
Trait Implementations§
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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