pub struct DataPlaneServerImpl { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for DataPlaneServerImpl
impl Clone for DataPlaneServerImpl
Source§fn clone(&self) -> DataPlaneServerImpl
fn clone(&self) -> DataPlaneServerImpl
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 DataPlane for DataPlaneServerImpl
impl DataPlane for DataPlaneServerImpl
Source§type ResultStream = Pin<Box<dyn Stream<Item = Result<EncryptedChunk, Status>> + Send>>
type ResultStream = Pin<Box<dyn Stream<Item = Result<EncryptedChunk, Status>> + Send>>
Server streaming response type for the Result method.
Source§type StreamingTaskStream = Pin<Box<dyn Stream<Item = Result<EncryptedChunk, Status>> + Send>>
type StreamingTaskStream = Pin<Box<dyn Stream<Item = Result<EncryptedChunk, Status>> + Send>>
Server streaming response type for the StreamingTask method.
Source§fn handshake<'life0, 'async_trait>(
&'life0 self,
req: Request<HandshakeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HandshakeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handshake<'life0, 'async_trait>(
&'life0 self,
req: Request<HandshakeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HandshakeResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handshake — troca de chaves efêmeras (ou no MVP apenas validação de session_token).
Source§fn transfer<'life0, 'async_trait>(
&'life0 self,
req: Request<Streaming<EncryptedChunk>>,
) -> Pin<Box<dyn Future<Output = Result<Response<TransferAck>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn transfer<'life0, 'async_trait>(
&'life0 self,
req: Request<Streaming<EncryptedChunk>>,
) -> Pin<Box<dyn Future<Output = Result<Response<TransferAck>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Transfer — envio de payload (cifrado em E2E ou em claro sobre TLS no MVP).
Source§fn result<'life0, 'async_trait>(
&'life0 self,
req: Request<ResultRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ResultStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn result<'life0, 'async_trait>(
&'life0 self,
req: Request<ResultRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ResultStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Result — recebimento de resultado.
Source§fn streaming_task<'life0, 'async_trait>(
&'life0 self,
_req: Request<Streaming<EncryptedChunk>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::StreamingTaskStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn streaming_task<'life0, 'async_trait>(
&'life0 self,
_req: Request<Streaming<EncryptedChunk>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::StreamingTaskStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Streaming bidirecional para tasks longas (opcional no MVP).
Auto Trait Implementations§
impl Freeze for DataPlaneServerImpl
impl !RefUnwindSafe for DataPlaneServerImpl
impl Send for DataPlaneServerImpl
impl Sync for DataPlaneServerImpl
impl Unpin for DataPlaneServerImpl
impl UnsafeUnpin for DataPlaneServerImpl
impl !UnwindSafe for DataPlaneServerImpl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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