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.
Auto Trait Implementations§
impl Freeze for AddressGetRequest
impl !RefUnwindSafe for AddressGetRequest
impl Send for AddressGetRequest
impl Sync for AddressGetRequest
impl Unpin for AddressGetRequest
impl !UnwindSafe for AddressGetRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more