Struct nostr_rs_ext::grpc::EventAuthz
source · pub struct EventAuthz { /* private fields */ }
Trait Implementations§
source§impl Authorization for EventAuthz
impl Authorization for EventAuthz
source§fn event_admit<'life0, 'async_trait>(
&'life0 self,
request: Request<EventRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<EventReply>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn event_admit<'life0, 'async_trait>( &'life0 self, request: Request<EventRequest> ) -> Pin<Box<dyn Future<Output = Result<Response<EventReply>, Status>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Determine if an event should be admitted to the relay
Auto Trait Implementations§
impl !RefUnwindSafe for EventAuthz
impl Send for EventAuthz
impl Sync for EventAuthz
impl Unpin for EventAuthz
impl !UnwindSafe for EventAuthz
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request