pub struct NativeGate {
pub has_native: bool,
pub mask: NativeMask,
pub authority_epoch: u64,
pub flow_cell: Arc<RevocationCell>,
pub native_epoch: u64,
pub native_cell: Arc<RevocationCell>,
}Expand description
Per-flow native allowlist snapshot, checked before indexing the table.
Fields§
§has_native: bool§mask: NativeMask§flow_cell: Arc<RevocationCell>§native_epoch: u64§native_cell: Arc<RevocationCell>Implementations§
Trait Implementations§
Source§impl Clone for NativeGate
impl Clone for NativeGate
Source§fn clone(&self) -> NativeGate
fn clone(&self) -> NativeGate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeGate
impl RefUnwindSafe for NativeGate
impl Send for NativeGate
impl Sync for NativeGate
impl Unpin for NativeGate
impl UnsafeUnpin for NativeGate
impl UnwindSafe for NativeGate
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