pub struct ProviderSnapshot {
pub cidrs: Arc<Vec<IpNet>>,
pub updated_at: Instant,
pub stale_after: Option<Duration>,
}Fields§
§cidrs: Arc<Vec<IpNet>>§updated_at: Instant§stale_after: Option<Duration>Trait Implementations§
Source§impl Clone for ProviderSnapshot
impl Clone for ProviderSnapshot
Source§fn clone(&self) -> ProviderSnapshot
fn clone(&self) -> ProviderSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProviderSnapshot
impl RefUnwindSafe for ProviderSnapshot
impl Send for ProviderSnapshot
impl Sync for ProviderSnapshot
impl Unpin for ProviderSnapshot
impl UnsafeUnpin for ProviderSnapshot
impl UnwindSafe for ProviderSnapshot
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