pub trait Endpoint: 'static + Sized + Send {
    type Session: Session;

    fn new_server_session<Params: EncoderValue>(
        &mut self,
        transport_parameters: &Params
    ) -> Self::Session; fn new_client_session<Params: EncoderValue>(
        &mut self,
        transport_parameters: &Params,
        server_name: ServerName
    ) -> Self::Session; fn max_tag_length(&self) -> usize; }

Required Associated Types

Required Methods

The maximum length of a tag for any algorithm that may be negotiated

Implementors