fidl_fuchsia_net_neighbor

Trait ControllerProxyInterface

Source
pub trait ControllerProxyInterface: Send + Sync {
    type AddEntryResponseFut: Future<Output = Result<ControllerAddEntryResult, Error>> + Send;
    type RemoveEntryResponseFut: Future<Output = Result<ControllerRemoveEntryResult, Error>> + Send;
    type ClearEntriesResponseFut: Future<Output = Result<ControllerClearEntriesResult, Error>> + Send;

    // Required methods
    fn add_entry(
        &self,
        interface: u64,
        neighbor: &IpAddress,
        mac: &MacAddress,
    ) -> Self::AddEntryResponseFut;
    fn remove_entry(
        &self,
        interface: u64,
        neighbor: &IpAddress,
    ) -> Self::RemoveEntryResponseFut;
    fn clear_entries(
        &self,
        interface: u64,
        ip_version: IpVersion,
    ) -> Self::ClearEntriesResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn add_entry( &self, interface: u64, neighbor: &IpAddress, mac: &MacAddress, ) -> Self::AddEntryResponseFut

Source

fn remove_entry( &self, interface: u64, neighbor: &IpAddress, ) -> Self::RemoveEntryResponseFut

Source

fn clear_entries( &self, interface: u64, ip_version: IpVersion, ) -> Self::ClearEntriesResponseFut

Implementors§