pub struct ServerTspHandler { /* private fields */ }Expand description
messaging-service TspHandler that applies inbound sync/domain
messages delivered over TSP.
Implementations§
Trait Implementations§
Source§impl TspHandler for ServerTspHandler
impl TspHandler for ServerTspHandler
fn handle<'life0, 'async_trait>(
&'life0 self,
_ctx: HandlerContext,
payload: Vec<u8>,
sender_vid: String,
) -> Pin<Box<dyn Future<Output = Result<Option<TspResponse>, DIDCommServiceError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !RefUnwindSafe for ServerTspHandler
impl !UnwindSafe for ServerTspHandler
impl Freeze for ServerTspHandler
impl Send for ServerTspHandler
impl Sync for ServerTspHandler
impl Unpin for ServerTspHandler
impl UnsafeUnpin for ServerTspHandler
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