Skip to main content

ConnectUdpTargetParser

Trait ConnectUdpTargetParser 

pub trait ConnectUdpTargetParser:
    Send
    + Sync
    + 'static {
    // Required method
    fn parse_target(&self, uri: &Uri) -> Option<ConnectUdpTargetHint>;
}
Available on crate feature masque only.
Expand description

Extracts optional target metadata independently of routing an accepted tunnel. Closures can supply the URI conventions of a particular proxy.

Required Methods§

Trait Implementations§

§

impl Debug for dyn ConnectUdpTargetParser

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§