pub enum FetchKind {
HttpProxy,
HttpSynthesize,
WebSocketUpgrade,
L4Forward,
}Variants§
Implementations§
Source§impl FetchKind
impl FetchKind
Sourcepub const fn phase(self) -> FetchPhase
pub const fn phase(self) -> FetchPhase
Authoritative fetch-phase classification. The lower pass uses
this to derive each listener’s crate::ir::ListenerKind from
the set of reachable terminators per entry; new fetch kinds
pick their phase here so the derivation table in
06-l4.md § Listener kind derivation stays single-source.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FetchKind
impl<'de> Deserialize<'de> for FetchKind
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
impl Copy for FetchKind
impl Eq for FetchKind
impl StructuralPartialEq for FetchKind
Auto Trait Implementations§
impl Freeze for FetchKind
impl RefUnwindSafe for FetchKind
impl Send for FetchKind
impl Sync for FetchKind
impl Unpin for FetchKind
impl UnsafeUnpin for FetchKind
impl UnwindSafe for FetchKind
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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