pub struct ConnmanCachedAddrResponse {
pub addrs_response_cache: Vec<Address>,
pub cache_entry_expiration: Option<Instant>,
}
Expand description
| Cache responses to addr requests to | minimize privacy leak. | | Attack example: scraping addrs in real-time | may allow an attacker to infer new connections | of the victim by detecting new records | with fresh timestamps (per self-announcement). |
Fields§
§addrs_response_cache: Vec<Address>
§cache_entry_expiration: Option<Instant>
Trait Implementations§
source§impl Default for ConnmanCachedAddrResponse
impl Default for ConnmanCachedAddrResponse
source§fn default() -> ConnmanCachedAddrResponse
fn default() -> ConnmanCachedAddrResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConnmanCachedAddrResponse
impl Send for ConnmanCachedAddrResponse
impl Sync for ConnmanCachedAddrResponse
impl Unpin for ConnmanCachedAddrResponse
impl UnwindSafe for ConnmanCachedAddrResponse
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more