Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actix/examples
/ ApiGuard
Class
ApiGuard
guards/src/main.rs:14–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
use super::*;
13
14
pub struct ApiGuard;
15
16
impl Guard for ApiGuard {
17
fn check(&self, ctx: &GuardContext<'_>) -> bool {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected