Trait CloneWithProxy

Source
pub trait CloneWithProxy {
    // Required method
    fn clone_with_proxy(&self, did: Did, service_type: impl AsRef<str>) -> Self;
}
Available on crate feature agent only.
Expand description

A trait for cloning a client with a proxy header.

Required Methods§

Source

fn clone_with_proxy(&self, did: Did, service_type: impl AsRef<str>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<S, T> CloneWithProxy for CredentialSession<S, T>
where S: AtpSessionStore + Send + Sync, S::Error: Error + Send + Sync + 'static, T: XrpcClient + Send + Sync,

Source§

impl<S, T, U> CloneWithProxy for SessionClient<S, T, U>