pub fn recv(
        &self,
        wait_for: &'static str,
        timeout: Option<Duration>,
    ) -> Result<Option<NetworkMessage>, CompactFiltersError> {
        Ok(Self::_recv(&self.responses, wait_for, timeout))
    }
/// Waits for a specific incoming Bitcoin message, optionally with a timeout
Waits for a specific incoming Bitcoin message, optionally with a timeout
Waits for a specific incoming Bitcoin message optionally with a timeout
pub fn recv(
        &self,
        wait_for: &'static str,
        timeout: Option<Duration>,
    ) -> Result<Option<NetworkMessage>, CompactFiltersError> {
        Ok(Self::_recv(&self.responses, wait_for, timeout))
    }
pub fn recv ( & self , wait_for : & ' static str , timeout : Option < Duration > , ) -> Result < Option < NetworkMessage > , CompactFiltersError > { Ok ( Self :: _recv ( & self . responses , wait_for , timeout ) ) }
Waits for a specific incoming Bitcoin message, optionally with a timeout
Waits for a specific incoming Bitcoin message optionally with a timeout
&self
wait_for
&'static str
timeout
Option<Duration>
&self
wait_for
&'static str
timeout
Option<Duration>