pub trait Connector {
    fn connected<'life0, 'life1, 'async_trait>(
        &'life0 self,
        id: &'life1 Id
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; fn disconnected<'life0, 'life1, 'async_trait>(
        &'life0 self,
        id: &'life1 Id
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }
Expand description

snow.validators.Connector ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/snow/validators#Connector

Required Methods

Implementors