pub enum RouteSpec {
Simple,
Client(Participator),
}Expand description
At the moment used in case when it is needed to overwrite rpc response receiver
Variants§
Simple
No rpc reponse receiver overwrite will happen
Client(Participator)
Rpc reponse receiver overwrite will happen
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RouteSpec
impl<'de> Deserialize<'de> for RouteSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RouteSpec
impl RefUnwindSafe for RouteSpec
impl Send for RouteSpec
impl Sync for RouteSpec
impl Unpin for RouteSpec
impl UnwindSafe for RouteSpec
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