Struct iroh_docs::rpc::proto::RpcService
source · pub struct RpcService;
Available on crate feature
rpc
only.Expand description
The RPC service type for the docs protocol.
Trait Implementations§
source§impl Clone for RpcService
impl Clone for RpcService
source§fn clone(&self) -> RpcService
fn clone(&self) -> RpcService
Returns a copy 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 Debug for RpcService
impl Debug for RpcService
source§impl Msg<RpcService> for AuthorListRequest
impl Msg<RpcService> for AuthorListRequest
source§impl Msg<RpcService> for DocListRequest
impl Msg<RpcService> for DocListRequest
source§impl Msg<RpcService> for DocSubscribeRequest
impl Msg<RpcService> for DocSubscribeRequest
source§impl Msg<RpcService> for ExportFileRequest
impl Msg<RpcService> for ExportFileRequest
source§impl Msg<RpcService> for GetManyRequest
impl Msg<RpcService> for GetManyRequest
source§impl Msg<RpcService> for ImportFileRequest
impl Msg<RpcService> for ImportFileRequest
source§impl RpcMsg<RpcService> for AuthorCreateRequest
impl RpcMsg<RpcService> for AuthorCreateRequest
§type Response = Result<AuthorCreateResponse, Error>
type Response = Result<AuthorCreateResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for AuthorDeleteRequest
impl RpcMsg<RpcService> for AuthorDeleteRequest
§type Response = Result<AuthorDeleteResponse, Error>
type Response = Result<AuthorDeleteResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for AuthorExportRequest
impl RpcMsg<RpcService> for AuthorExportRequest
§type Response = Result<AuthorExportResponse, Error>
type Response = Result<AuthorExportResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for AuthorGetDefaultRequest
impl RpcMsg<RpcService> for AuthorGetDefaultRequest
§type Response = Result<AuthorGetDefaultResponse, Error>
type Response = Result<AuthorGetDefaultResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for AuthorImportRequest
impl RpcMsg<RpcService> for AuthorImportRequest
§type Response = Result<AuthorImportResponse, Error>
type Response = Result<AuthorImportResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for AuthorSetDefaultRequest
impl RpcMsg<RpcService> for AuthorSetDefaultRequest
§type Response = Result<AuthorSetDefaultResponse, Error>
type Response = Result<AuthorSetDefaultResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for CloseRequest
impl RpcMsg<RpcService> for CloseRequest
§type Response = Result<CloseResponse, Error>
type Response = Result<CloseResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for CreateRequest
impl RpcMsg<RpcService> for CreateRequest
§type Response = Result<CreateResponse, Error>
type Response = Result<CreateResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for DelRequest
impl RpcMsg<RpcService> for DelRequest
§type Response = Result<DelResponse, Error>
type Response = Result<DelResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for DropRequest
impl RpcMsg<RpcService> for DropRequest
§type Response = Result<DropResponse, Error>
type Response = Result<DropResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for GetDownloadPolicyRequest
impl RpcMsg<RpcService> for GetDownloadPolicyRequest
§type Response = Result<GetDownloadPolicyResponse, Error>
type Response = Result<GetDownloadPolicyResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for GetExactRequest
impl RpcMsg<RpcService> for GetExactRequest
§type Response = Result<GetExactResponse, Error>
type Response = Result<GetExactResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for GetSyncPeersRequest
impl RpcMsg<RpcService> for GetSyncPeersRequest
§type Response = Result<GetSyncPeersResponse, Error>
type Response = Result<GetSyncPeersResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for ImportRequest
impl RpcMsg<RpcService> for ImportRequest
§type Response = Result<ImportResponse, Error>
type Response = Result<ImportResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for LeaveRequest
impl RpcMsg<RpcService> for LeaveRequest
§type Response = Result<LeaveResponse, Error>
type Response = Result<LeaveResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for OpenRequest
impl RpcMsg<RpcService> for OpenRequest
§type Response = Result<OpenResponse, Error>
type Response = Result<OpenResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for SetDownloadPolicyRequest
impl RpcMsg<RpcService> for SetDownloadPolicyRequest
§type Response = Result<SetDownloadPolicyResponse, Error>
type Response = Result<SetDownloadPolicyResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for SetHashRequest
impl RpcMsg<RpcService> for SetHashRequest
§type Response = Result<SetHashResponse, Error>
type Response = Result<SetHashResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for SetRequest
impl RpcMsg<RpcService> for SetRequest
§type Response = Result<SetResponse, Error>
type Response = Result<SetResponse, Error>
The type for the response Read more
§type Response = Result<ShareResponse, Error>
type Response = Result<ShareResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for StartSyncRequest
impl RpcMsg<RpcService> for StartSyncRequest
§type Response = Result<StartSyncResponse, Error>
type Response = Result<StartSyncResponse, Error>
The type for the response Read more
source§impl RpcMsg<RpcService> for StatusRequest
impl RpcMsg<RpcService> for StatusRequest
§type Response = Result<StatusResponse, Error>
type Response = Result<StatusResponse, Error>
The type for the response Read more
source§impl ServerStreamingMsg<RpcService> for AuthorListRequest
impl ServerStreamingMsg<RpcService> for AuthorListRequest
§type Response = Result<AuthorListResponse, Error>
type Response = Result<AuthorListResponse, Error>
The type for the response Read more
source§impl ServerStreamingMsg<RpcService> for DocListRequest
impl ServerStreamingMsg<RpcService> for DocListRequest
§type Response = Result<ListResponse, Error>
type Response = Result<ListResponse, Error>
The type for the response Read more
source§impl ServerStreamingMsg<RpcService> for ExportFileRequest
impl ServerStreamingMsg<RpcService> for ExportFileRequest
§type Response = ExportFileResponse
type Response = ExportFileResponse
The type for the response Read more
source§impl ServerStreamingMsg<RpcService> for GetManyRequest
impl ServerStreamingMsg<RpcService> for GetManyRequest
§type Response = Result<GetManyResponse, Error>
type Response = Result<GetManyResponse, Error>
The type for the response Read more
source§impl ServerStreamingMsg<RpcService> for ImportFileRequest
impl ServerStreamingMsg<RpcService> for ImportFileRequest
§type Response = ImportFileResponse
type Response = ImportFileResponse
The type for the response Read more
source§impl Service for RpcService
impl Service for RpcService
source§impl TryServerStreamingMsg<RpcService> for DocSubscribeRequest
impl TryServerStreamingMsg<RpcService> for DocSubscribeRequest
§type CreateError = Error
type CreateError = Error
Error when creating the stream
§type Item = DocSubscribeResponse
type Item = DocSubscribeResponse
Successful response item
Auto Trait Implementations§
impl Freeze for RpcService
impl RefUnwindSafe for RpcService
impl Send for RpcService
impl Sync for RpcService
impl Unpin for RpcService
impl UnwindSafe for RpcService
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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