pingora_core::protocols

Trait GetSocketDigest

Source
pub trait GetSocketDigest {
    // Required method
    fn get_socket_digest(&self) -> Option<Arc<SocketDigest>>;

    // Provided method
    fn set_socket_digest(&mut self, _socket_digest: SocketDigest) { ... }
}
Expand description

The interface to set or return socket information

Required Methods§

Provided Methods§

Source

fn set_socket_digest(&mut self, _socket_digest: SocketDigest)

Implementations on Foreign Types§

Source§

impl GetSocketDigest for Mock

Source§

impl GetSocketDigest for DuplexStream

Source§

impl<T> GetSocketDigest for Cursor<T>

Implementors§