pub struct BiursServer { /* private fields */ }Implementations§
Trait Implementations§
Source§impl BackItUp for BiursServer
impl BackItUp for BiursServer
Source§type AuthenticateStream = Pin<Box<dyn Stream<Item = Result<AuthenticateResponse, Status>> + Send>>
type AuthenticateStream = Pin<Box<dyn Stream<Item = Result<AuthenticateResponse, Status>> + Send>>
Server streaming response type for the Authenticate method.
Source§type DownloadStream = Pin<Box<dyn Stream<Item = Result<DownloadResponse, Status>> + Send>>
type DownloadStream = Pin<Box<dyn Stream<Item = Result<DownloadResponse, Status>> + Send>>
Server streaming response type for the Download method.
fn authenticate<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<AuthenticateRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::AuthenticateStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn status<'life0, 'async_trait>(
&'life0 self,
request: Request<StatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StatusResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
request: Request<ListRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn download<'life0, 'async_trait>(
&'life0 self,
request: Request<DownloadRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::DownloadStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn upload<'life0, 'async_trait>(
&'life0 self,
request: Request<Streaming<UploadRequest>>,
) -> Pin<Box<dyn Future<Output = Result<Response<UploadResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for BiursServer
impl !RefUnwindSafe for BiursServer
impl Send for BiursServer
impl Sync for BiursServer
impl Unpin for BiursServer
impl !UnwindSafe for BiursServer
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> 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