pub struct ValidateInbox<I> { /* private fields */ }Expand description
Rejects if a public message was not sent to a shared inbox Rejects if a private message was sent to a shared inbox
Trait Implementations§
Source§impl<I: Clone> Clone for ValidateInbox<I>
impl<I: Clone> Clone for ValidateInbox<I>
Source§fn clone(&self) -> ValidateInbox<I>
fn clone(&self) -> ValidateInbox<I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<I: Debug> Debug for ValidateInbox<I>
impl<I: Debug> Debug for ValidateInbox<I>
Source§impl<A, I> Ingest<A> for ValidateInbox<I>where
A: DeliverableObject + 'static,
I: Ingest<A>,
I::Error: From<InboxError>,
I::ActorId: InboxType,
impl<A, I> Ingest<A> for ValidateInbox<I>where
A: DeliverableObject + 'static,
I: Ingest<A>,
I::Error: From<InboxError>,
I::ActorId: InboxType,
Source§fn local_repo(&self) -> &Self::Local
fn local_repo(&self) -> &Self::Local
Get the local repository
Source§fn ingest<'life0, 'life1, 'async_trait, R, S>(
&'life0 self,
authority: Authority,
actor_id: Self::ActorId,
activity: &'life1 A,
remote_repo: R,
session: S,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait>>
fn ingest<'life0, 'life1, 'async_trait, R, S>( &'life0 self, authority: Authority, actor_id: Self::ActorId, activity: &'life1 A, remote_repo: R, session: S, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait>>
Accept and process a given activity Read more
Auto Trait Implementations§
impl<I> Freeze for ValidateInbox<I>where
I: Freeze,
impl<I> RefUnwindSafe for ValidateInbox<I>where
I: RefUnwindSafe,
impl<I> Send for ValidateInbox<I>where
I: Send,
impl<I> Sync for ValidateInbox<I>where
I: Sync,
impl<I> Unpin for ValidateInbox<I>where
I: Unpin,
impl<I> UnwindSafe for ValidateInbox<I>where
I: 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