pub struct CustomCommandRequest {
pub request: Box<RequestMsgData>,
pub peer: Peer,
pub command: ExternalCommand,
}Expand description
Custom incoming request to a registered command
§Note
Custom commands are not automatically replied to and need to be answered manually The query we received and need to respond to
Fields§
§request: Box<RequestMsgData>§peer: PeerPeer that sent th erequest
command: ExternalCommandTrait Implementations§
Auto Trait Implementations§
impl Freeze for CustomCommandRequest
impl RefUnwindSafe for CustomCommandRequest
impl Send for CustomCommandRequest
impl Sync for CustomCommandRequest
impl Unpin for CustomCommandRequest
impl UnsafeUnpin for CustomCommandRequest
impl UnwindSafe for CustomCommandRequest
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