Skip to main content

announce

Function announce 

Source
pub fn announce(
    stream: &mut impl Write,
    successor: &Identity,
) -> Result<(), PeerError>
Expand description

Announces successor as the next identity of this side, over a connection the current identity authenticated: one framed Rotation message. What follows on the connection is the caller’s protocol.

§Errors

PeerError::Certificate for an unusable certificate, PeerError::Io.