pub struct ArpRequestInputBuilder { /* private fields */ }
Implementations§
Source§impl ArpRequestInputBuilder
impl ArpRequestInputBuilder
pub fn new() -> Self
pub fn with_sender_mac(self, sender_mac: MacAddr) -> Self
pub fn with_sender_ip(self, sender_ip: Ipv4Addr) -> Self
pub fn with_target_mac(self, target_mac: MacAddr) -> Self
pub fn with_target_ip(self, target_ip: Ipv4Addr) -> Self
pub fn build(&self) -> Result<ArpRequestInput, InputBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ArpRequestInputBuilder
impl RefUnwindSafe for ArpRequestInputBuilder
impl Send for ArpRequestInputBuilder
impl Sync for ArpRequestInputBuilder
impl Unpin for ArpRequestInputBuilder
impl UnwindSafe for ArpRequestInputBuilder
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