(token: Option<&[u8]>)
| 44 | |
| 45 | impl TokenInterceptor { |
| 46 | pub fn new(token: Option<&[u8]>) -> Self { |
| 47 | Self(token.map(MetadataValue::from_bytes)) |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | impl tonic::service::Interceptor for TokenInterceptor { |
nothing calls this directly
no outgoing calls
no test coverage detected