Trait cerbero_lib::KrbChannel

source ·
pub trait KrbChannel {
    // Required methods
    fn send_recv(&self, raw: &[u8]) -> Result<Vec<u8>>;
    fn protocol(&self) -> TransportProtocol;
    fn ip(&self) -> IpAddr;
}
Expand description

Trait implemented by classes which deliver Kerberos messages

Required Methods§

source

fn send_recv(&self, raw: &[u8]) -> Result<Vec<u8>>

Sends a message and retrieves the response

source

fn protocol(&self) -> TransportProtocol

source

fn ip(&self) -> IpAddr

Implementors§