Type Alias RpcResult

Source
pub type RpcResult<T> = Result<T, RpcError>;
Available on crate feature rpc only.
Expand description

Result type for RPC operations

Aliased Type§

enum RpcResult<T> {
    Ok(T),
    Err(Error),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(Error)

Contains the error value

Trait Implementations§

Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<()>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<()>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<BlobInfo>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<BlobInfo>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<BlobStatusResponse>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<BlobStatusResponse>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<CreateCollectionResponse>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<CreateCollectionResponse>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<IncompleteBlobInfo>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<IncompleteBlobInfo>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<ReadAtResponse>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<ReadAtResponse>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<Tag>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Response> for &'a RpcResult<Tag>

Source§

type Error = &'a Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: &'a Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<()>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<()>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<BlobInfo>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<BlobInfo>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<BlobStatusResponse>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<BlobStatusResponse>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<CreateCollectionResponse>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<CreateCollectionResponse>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<IncompleteBlobInfo>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<IncompleteBlobInfo>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<ReadAtResponse>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<ReadAtResponse>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<Tag>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Response> for RpcResult<Tag>

Source§

type Error = Response

The type returned in the event of a conversion error.
Source§

fn try_from(value: Response) -> Result<Self, Self::Error>

Performs the conversion.