pub enum Procedure {
Call(Request, Response, AbortController),
Notify(Request),
}
Expand description
Procedure
represents an RPC (Remote Procedure Call) or notification in the system.
Variants§
Call(Request, Response, AbortController)
Call
represents a RPC event
Notify(Request)
Notify
represents a one-way notification that includes only a request.
Auto Trait Implementations§
impl Freeze for Procedure
impl RefUnwindSafe for Procedure
impl Send for Procedure
impl Sync for Procedure
impl Unpin for Procedure
impl UnwindSafe for Procedure
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