pub enum InterceptorOutput {
Matches(bool),
Request(InterceptedRequest),
Response(InterceptedResponse),
}Expand description
An interceptor’s answer.
Variants§
Matches(bool)
Whether the interceptor sees the call
Request(InterceptedRequest)
The request to send. Alien sends it only when its destination, method, path, AWS operation, the identities it names and its credential headers are the ones the interceptor got, and it does not change who has access or act as another identity. Alien never offers an interceptor a call that does.
Response(InterceptedResponse)
The response Alien reads
Trait Implementations§
Source§impl Clone for InterceptorOutput
impl Clone for InterceptorOutput
Source§impl Debug for InterceptorOutput
impl Debug for InterceptorOutput
Source§impl<'de> Deserialize<'de> for InterceptorOutput
impl<'de> Deserialize<'de> for InterceptorOutput
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 InterceptorOutput
impl PartialEq for InterceptorOutput
Source§impl Serialize for InterceptorOutput
impl Serialize for InterceptorOutput
impl StructuralPartialEq for InterceptorOutput
Auto Trait Implementations§
impl Forget for InterceptorOutput
impl Freeze for InterceptorOutput
impl Move for InterceptorOutput
impl RefUnwindSafe for InterceptorOutput
impl Send for InterceptorOutput
impl Sync for InterceptorOutput
impl Unpin for InterceptorOutput
impl UnsafeUnpin for InterceptorOutput
impl UnwindSafe for InterceptorOutput
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