Enum iroh_blobs::rpc::proto::Response
source · pub enum Response {
Blobs(Response),
Tags(Response),
}
Available on crate feature
rpc
only.Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<AddPathResponse> for Response
impl From<AddPathResponse> for Response
source§fn from(value: AddPathResponse) -> Self
fn from(value: AddPathResponse) -> Self
Converts to this type from the input type.
source§impl From<AddStreamResponse> for Response
impl From<AddStreamResponse> for Response
source§fn from(value: AddStreamResponse) -> Self
fn from(value: AddStreamResponse) -> Self
Converts to this type from the input type.
source§impl From<BatchAddPathResponse> for Response
impl From<BatchAddPathResponse> for Response
source§fn from(value: BatchAddPathResponse) -> Self
fn from(value: BatchAddPathResponse) -> Self
Converts to this type from the input type.
source§impl From<BatchAddStreamResponse> for Response
impl From<BatchAddStreamResponse> for Response
source§fn from(value: BatchAddStreamResponse) -> Self
fn from(value: BatchAddStreamResponse) -> Self
Converts to this type from the input type.
source§impl From<BatchCreateResponse> for Response
impl From<BatchCreateResponse> for Response
source§fn from(value: BatchCreateResponse) -> Self
fn from(value: BatchCreateResponse) -> Self
Converts to this type from the input type.
source§impl From<ConsistencyCheckProgress> for Response
impl From<ConsistencyCheckProgress> for Response
source§fn from(value: ConsistencyCheckProgress) -> Self
fn from(value: ConsistencyCheckProgress) -> Self
Converts to this type from the input type.
source§impl From<DownloadResponse> for Response
impl From<DownloadResponse> for Response
source§fn from(value: DownloadResponse) -> Self
fn from(value: DownloadResponse) -> Self
Converts to this type from the input type.
source§impl From<ExportResponse> for Response
impl From<ExportResponse> for Response
source§fn from(value: ExportResponse) -> Self
fn from(value: ExportResponse) -> Self
Converts to this type from the input type.
source§impl From<Result<BlobStatusResponse, Error>> for Response
impl From<Result<BlobStatusResponse, Error>> for Response
source§fn from(value: RpcResult<BlobStatusResponse>) -> Self
fn from(value: RpcResult<BlobStatusResponse>) -> Self
Converts to this type from the input type.
source§impl From<Result<CreateCollectionResponse, Error>> for Response
impl From<Result<CreateCollectionResponse, Error>> for Response
source§fn from(value: RpcResult<CreateCollectionResponse>) -> Self
fn from(value: RpcResult<CreateCollectionResponse>) -> Self
Converts to this type from the input type.
source§impl From<Result<IncompleteBlobInfo, Error>> for Response
impl From<Result<IncompleteBlobInfo, Error>> for Response
source§fn from(value: RpcResult<IncompleteBlobInfo>) -> Self
fn from(value: RpcResult<IncompleteBlobInfo>) -> Self
Converts to this type from the input type.
source§impl From<Result<ReadAtResponse, Error>> for Response
impl From<Result<ReadAtResponse, Error>> for Response
source§fn from(value: RpcResult<ReadAtResponse>) -> Self
fn from(value: RpcResult<ReadAtResponse>) -> Self
Converts to this type from the input type.
source§impl From<ValidateProgress> for Response
impl From<ValidateProgress> for Response
source§fn from(value: ValidateProgress) -> Self
fn from(value: ValidateProgress) -> Self
Converts to this type from the input type.
source§impl<'a> TryFrom<&'a Response> for &'a AddPathResponse
impl<'a> TryFrom<&'a Response> for &'a AddPathResponse
source§impl<'a> TryFrom<&'a Response> for &'a AddStreamResponse
impl<'a> TryFrom<&'a Response> for &'a AddStreamResponse
source§impl<'a> TryFrom<&'a Response> for &'a BatchAddPathResponse
impl<'a> TryFrom<&'a Response> for &'a BatchAddPathResponse
source§impl<'a> TryFrom<&'a Response> for &'a BatchAddStreamResponse
impl<'a> TryFrom<&'a Response> for &'a BatchAddStreamResponse
source§impl<'a> TryFrom<&'a Response> for &'a BatchCreateResponse
impl<'a> TryFrom<&'a Response> for &'a BatchCreateResponse
source§impl<'a> TryFrom<&'a Response> for &'a ConsistencyCheckProgress
impl<'a> TryFrom<&'a Response> for &'a ConsistencyCheckProgress
source§impl<'a> TryFrom<&'a Response> for &'a DownloadResponse
impl<'a> TryFrom<&'a Response> for &'a DownloadResponse
source§impl<'a> TryFrom<&'a Response> for &'a ExportResponse
impl<'a> TryFrom<&'a Response> for &'a ExportResponse
source§impl<'a> TryFrom<&'a Response> for &'a ValidateProgress
impl<'a> TryFrom<&'a Response> for &'a ValidateProgress
source§impl TryFrom<Response> for AddPathResponse
impl TryFrom<Response> for AddPathResponse
source§impl TryFrom<Response> for AddStreamResponse
impl TryFrom<Response> for AddStreamResponse
source§impl TryFrom<Response> for BatchAddPathResponse
impl TryFrom<Response> for BatchAddPathResponse
source§impl TryFrom<Response> for BatchAddStreamResponse
impl TryFrom<Response> for BatchAddStreamResponse
source§impl TryFrom<Response> for BatchCreateResponse
impl TryFrom<Response> for BatchCreateResponse
source§impl TryFrom<Response> for ConsistencyCheckProgress
impl TryFrom<Response> for ConsistencyCheckProgress
source§impl TryFrom<Response> for DownloadResponse
impl TryFrom<Response> for DownloadResponse
source§impl TryFrom<Response> for ExportResponse
impl TryFrom<Response> for ExportResponse
Auto Trait Implementations§
impl !Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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