pub enum RequestCodecStep {
MethodRenamed {
from: &'static str,
to: &'static str,
},
ParamsTranslated {
from: &'static str,
to: &'static str,
},
ReplyTranslated {
from: &'static str,
to: &'static str,
},
}Expand description
One named step in a request/reply translation.
Variants§
MethodRenamed
The method name was renamed to the upstream’s vocabulary.
Fields
ParamsTranslated
The request params were translated. The shape change is recorded with enough detail for a reviewer to know what the bridge did.
Fields
ReplyTranslated
The reply was translated. Same from/to shape.
Trait Implementations§
Source§impl Clone for RequestCodecStep
impl Clone for RequestCodecStep
Source§impl Debug for RequestCodecStep
impl Debug for RequestCodecStep
Source§impl Display for RequestCodecStep
impl Display for RequestCodecStep
impl Eq for RequestCodecStep
Source§impl PartialEq for RequestCodecStep
impl PartialEq for RequestCodecStep
impl StructuralPartialEq for RequestCodecStep
Auto Trait Implementations§
impl Freeze for RequestCodecStep
impl RefUnwindSafe for RequestCodecStep
impl Send for RequestCodecStep
impl Sync for RequestCodecStep
impl Unpin for RequestCodecStep
impl UnsafeUnpin for RequestCodecStep
impl UnwindSafe for RequestCodecStep
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