pub enum InterceptorInput {
Matches {
request: InterceptedRequest,
},
ModifyRequest {
request: InterceptedRequest,
},
ModifyResponse {
request: InterceptedRequest,
response: InterceptedResponse,
},
}Expand description
A call to an interceptor, by what it asks.
Variants§
Matches
Whether the interceptor sees this call. Answered by InterceptorOutput::Matches.
Fields
§
request: InterceptedRequestThe call
ModifyRequest
Change the request. Answered by InterceptorOutput::Request.
Fields
§
request: InterceptedRequestThe request as Alien built it and earlier interceptors left it
ModifyResponse
Change the response. Answered by InterceptorOutput::Response.
Fields
§
request: InterceptedRequestThe request as it was sent
§
response: InterceptedResponseThe response as the cloud sent it and earlier interceptors left it
Trait Implementations§
Source§impl Clone for InterceptorInput
impl Clone for InterceptorInput
Source§impl Debug for InterceptorInput
impl Debug for InterceptorInput
Source§impl<'de> Deserialize<'de> for InterceptorInput
impl<'de> Deserialize<'de> for InterceptorInput
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
Source§impl PartialEq for InterceptorInput
impl PartialEq for InterceptorInput
Source§impl Serialize for InterceptorInput
impl Serialize for InterceptorInput
impl StructuralPartialEq for InterceptorInput
Auto Trait Implementations§
impl Forget for InterceptorInput
impl Freeze for InterceptorInput
impl Move for InterceptorInput
impl RefUnwindSafe for InterceptorInput
impl Send for InterceptorInput
impl Sync for InterceptorInput
impl Unpin for InterceptorInput
impl UnsafeUnpin for InterceptorInput
impl UnwindSafe for InterceptorInput
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