pub enum ProtectionLookup {
Known(ProtectedBranches),
Unknown(String),
}Expand description
The answer of lookup.
Variants§
Trait Implementations§
Source§impl Clone for ProtectionLookup
impl Clone for ProtectionLookup
Source§impl Debug for ProtectionLookup
impl Debug for ProtectionLookup
impl Eq for ProtectionLookup
Source§impl PartialEq for ProtectionLookup
impl PartialEq for ProtectionLookup
impl StructuralPartialEq for ProtectionLookup
Auto Trait Implementations§
impl Forget for ProtectionLookup
impl Freeze for ProtectionLookup
impl Move for ProtectionLookup
impl RefUnwindSafe for ProtectionLookup
impl Send for ProtectionLookupwhere
RawVecInner: Send,
impl Sync for ProtectionLookupwhere
RawVecInner: Sync,
impl Unpin for ProtectionLookup
impl UnsafeUnpin for ProtectionLookupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ProtectionLookupwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.