Struct rtnetlink::AddressGetRequest
source · pub struct AddressGetRequest { /* private fields */ }
Implementations§
source§impl AddressGetRequest
impl AddressGetRequest
pub fn message_mut(&mut self) -> &mut AddressMessage
pub fn execute(self) -> impl TryStream<Ok = AddressMessage, Error = Error>
sourcepub fn set_link_index_filter(self, index: u32) -> Self
pub fn set_link_index_filter(self, index: u32) -> Self
Return only the addresses of the given interface.
sourcepub fn set_prefix_length_filter(self, prefix: u8) -> Self
pub fn set_prefix_length_filter(self, prefix: u8) -> Self
Return only the addresses of the given prefix length.
sourcepub fn set_address_filter(self, address: IpAddr) -> Self
pub fn set_address_filter(self, address: IpAddr) -> Self
Return only the addresses of the given prefix length.