pub enum FetchCommands {
Disable(Disable),
Enable(Enable),
FailRequest(FailRequest),
FulfillRequest(FulfillRequest),
ContinueRequest(ContinueRequest),
ContinueWithAuth(ContinueWithAuth),
ContinueResponse(ContinueResponse),
GetResponseBody(GetResponseBody),
TakeResponseBodyAsStream(TakeResponseBodyAsStream),
}Variants§
Disable(Disable)
Enable(Enable)
FailRequest(FailRequest)
FulfillRequest(FulfillRequest)
ContinueRequest(ContinueRequest)
ContinueWithAuth(ContinueWithAuth)
ContinueResponse(ContinueResponse)
GetResponseBody(GetResponseBody)
TakeResponseBodyAsStream(TakeResponseBodyAsStream)
Implementations§
Source§impl FetchCommands
impl FetchCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for FetchCommands
impl Clone for FetchCommands
Source§fn clone(&self) -> FetchCommands
fn clone(&self) -> FetchCommands
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FetchCommands
impl Debug for FetchCommands
Source§impl<'de> Deserialize<'de> for FetchCommands
impl<'de> Deserialize<'de> for FetchCommands
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 From<ContinueRequest> for FetchCommands
impl From<ContinueRequest> for FetchCommands
Source§fn from(v: ContinueRequest) -> Self
fn from(v: ContinueRequest) -> Self
Converts to this type from the input type.
Source§impl From<ContinueResponse> for FetchCommands
impl From<ContinueResponse> for FetchCommands
Source§fn from(v: ContinueResponse) -> Self
fn from(v: ContinueResponse) -> Self
Converts to this type from the input type.
Source§impl From<ContinueWithAuth> for FetchCommands
impl From<ContinueWithAuth> for FetchCommands
Source§fn from(v: ContinueWithAuth) -> Self
fn from(v: ContinueWithAuth) -> Self
Converts to this type from the input type.
Source§impl From<Disable> for FetchCommands
impl From<Disable> for FetchCommands
Source§impl From<Enable> for FetchCommands
impl From<Enable> for FetchCommands
Source§impl From<FailRequest> for FetchCommands
impl From<FailRequest> for FetchCommands
Source§fn from(v: FailRequest) -> Self
fn from(v: FailRequest) -> Self
Converts to this type from the input type.
Source§impl From<FetchCommands> for BrowserProtocolCommands
impl From<FetchCommands> for BrowserProtocolCommands
Source§fn from(v: FetchCommands) -> Self
fn from(v: FetchCommands) -> Self
Converts to this type from the input type.
Source§impl From<FetchCommands> for Command
impl From<FetchCommands> for Command
Source§fn from(v: FetchCommands) -> Self
fn from(v: FetchCommands) -> Self
Converts to this type from the input type.
Source§impl From<FulfillRequest> for FetchCommands
impl From<FulfillRequest> for FetchCommands
Source§fn from(v: FulfillRequest) -> Self
fn from(v: FulfillRequest) -> Self
Converts to this type from the input type.
Source§impl From<GetResponseBody> for FetchCommands
impl From<GetResponseBody> for FetchCommands
Source§fn from(v: GetResponseBody) -> Self
fn from(v: GetResponseBody) -> Self
Converts to this type from the input type.
Source§impl From<TakeResponseBodyAsStream> for FetchCommands
impl From<TakeResponseBodyAsStream> for FetchCommands
Source§fn from(v: TakeResponseBodyAsStream) -> Self
fn from(v: TakeResponseBodyAsStream) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FetchCommands
impl PartialEq for FetchCommands
Source§impl Serialize for FetchCommands
impl Serialize for FetchCommands
Source§impl TryFrom<BrowserProtocolCommands> for FetchCommands
impl TryFrom<BrowserProtocolCommands> for FetchCommands
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <FetchCommands as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <FetchCommands as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for FetchCommands
impl TryFrom<Command> for FetchCommands
Source§impl TryFrom<FetchCommands> for ContinueRequest
impl TryFrom<FetchCommands> for ContinueRequest
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <ContinueRequest as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <ContinueRequest as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for ContinueResponse
impl TryFrom<FetchCommands> for ContinueResponse
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <ContinueResponse as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <ContinueResponse as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for ContinueWithAuth
impl TryFrom<FetchCommands> for ContinueWithAuth
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <ContinueWithAuth as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <ContinueWithAuth as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for Disable
impl TryFrom<FetchCommands> for Disable
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <Disable as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <Disable as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for Enable
impl TryFrom<FetchCommands> for Enable
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <Enable as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <Enable as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for FailRequest
impl TryFrom<FetchCommands> for FailRequest
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <FailRequest as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <FailRequest as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for FulfillRequest
impl TryFrom<FetchCommands> for FulfillRequest
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <FulfillRequest as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <FulfillRequest as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for GetResponseBody
impl TryFrom<FetchCommands> for GetResponseBody
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <GetResponseBody as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <GetResponseBody as TryFrom<FetchCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FetchCommands> for TakeResponseBodyAsStream
impl TryFrom<FetchCommands> for TakeResponseBodyAsStream
Source§type Error = FetchCommands
type Error = FetchCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FetchCommands,
) -> Result<Self, <TakeResponseBodyAsStream as TryFrom<FetchCommands>>::Error>
fn try_from( e: FetchCommands, ) -> Result<Self, <TakeResponseBodyAsStream as TryFrom<FetchCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for FetchCommands
Auto Trait Implementations§
impl Freeze for FetchCommands
impl RefUnwindSafe for FetchCommands
impl Send for FetchCommands
impl Sync for FetchCommands
impl Unpin for FetchCommands
impl UnsafeUnpin for FetchCommands
impl UnwindSafe for FetchCommands
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