iroh_docs::rpc::proto

Enum Response

Source
pub enum Response {
Show 29 variants Open(Result<OpenResponse, Error>), Close(Result<CloseResponse, Error>), Status(Result<StatusResponse, Error>), List(Result<ListResponse, Error>), Create(Result<CreateResponse, Error>), Drop(Result<DropResponse, Error>), Import(Result<ImportResponse, Error>), Set(Result<SetResponse, Error>), SetHash(Result<SetHashResponse, Error>), Get(Result<GetManyResponse, Error>), GetExact(Result<GetExactResponse, Error>), ImportFile(ImportFileResponse), ExportFile(ExportFileResponse), Del(Result<DelResponse, Error>), Share(Result<ShareResponse, Error>), StartSync(Result<StartSyncResponse, Error>), Leave(Result<LeaveResponse, Error>), Subscribe(Result<DocSubscribeResponse, Error>), GetDownloadPolicy(Result<GetDownloadPolicyResponse, Error>), SetDownloadPolicy(Result<SetDownloadPolicyResponse, Error>), GetSyncPeers(Result<GetSyncPeersResponse, Error>), StreamCreated(Result<StreamCreated, Error>), AuthorList(Result<AuthorListResponse, Error>), AuthorCreate(Result<AuthorCreateResponse, Error>), AuthorGetDefault(Result<AuthorGetDefaultResponse, Error>), AuthorSetDefault(Result<AuthorSetDefaultResponse, Error>), AuthorImport(Result<AuthorImportResponse, Error>), AuthorExport(Result<AuthorExportResponse, Error>), AuthorDelete(Result<AuthorDeleteResponse, Error>),
}
Available on crate feature rpc only.

Variants§

§

Open(Result<OpenResponse, Error>)

§

Close(Result<CloseResponse, Error>)

§

Status(Result<StatusResponse, Error>)

§

List(Result<ListResponse, Error>)

§

Create(Result<CreateResponse, Error>)

§

Drop(Result<DropResponse, Error>)

§

Import(Result<ImportResponse, Error>)

§

Set(Result<SetResponse, Error>)

§

SetHash(Result<SetHashResponse, Error>)

§

Get(Result<GetManyResponse, Error>)

§

GetExact(Result<GetExactResponse, Error>)

§

ImportFile(ImportFileResponse)

§

ExportFile(ExportFileResponse)

§

Del(Result<DelResponse, Error>)

§

Share(Result<ShareResponse, Error>)

§

StartSync(Result<StartSyncResponse, Error>)

§

Leave(Result<LeaveResponse, Error>)

§

Subscribe(Result<DocSubscribeResponse, Error>)

§

GetDownloadPolicy(Result<GetDownloadPolicyResponse, Error>)

§

SetDownloadPolicy(Result<SetDownloadPolicyResponse, Error>)

§

GetSyncPeers(Result<GetSyncPeersResponse, Error>)

§

StreamCreated(Result<StreamCreated, Error>)

§

AuthorList(Result<AuthorListResponse, Error>)

§

AuthorCreate(Result<AuthorCreateResponse, Error>)

§

AuthorGetDefault(Result<AuthorGetDefaultResponse, Error>)

§

AuthorSetDefault(Result<AuthorSetDefaultResponse, Error>)

§

AuthorImport(Result<AuthorImportResponse, Error>)

§

AuthorExport(Result<AuthorExportResponse, Error>)

§

AuthorDelete(Result<AuthorDeleteResponse, Error>)

Trait Implementations§

Source§

impl Debug for Response

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Response

Source§

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 Display for Response

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl From<ExportFileResponse> for Response

Source§

fn from(value: ExportFileResponse) -> Self

Converts to this type from the input type.
Source§

impl From<ImportFileResponse> for Response

Source§

fn from(value: ImportFileResponse) -> Self

Converts to this type from the input type.
Source§

impl From<Result<AuthorCreateResponse, Error>> for Response

Source§

fn from(value: Result<AuthorCreateResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<AuthorDeleteResponse, Error>> for Response

Source§

fn from(value: Result<AuthorDeleteResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<AuthorExportResponse, Error>> for Response

Source§

fn from(value: Result<AuthorExportResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<AuthorGetDefaultResponse, Error>> for Response

Source§

fn from(value: Result<AuthorGetDefaultResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<AuthorImportResponse, Error>> for Response

Source§

fn from(value: Result<AuthorImportResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<AuthorListResponse, Error>> for Response

Source§

fn from(value: Result<AuthorListResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<AuthorSetDefaultResponse, Error>> for Response

Source§

fn from(value: Result<AuthorSetDefaultResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<CloseResponse, Error>> for Response

Source§

fn from(value: Result<CloseResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<CreateResponse, Error>> for Response

Source§

fn from(value: Result<CreateResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<DelResponse, Error>> for Response

Source§

fn from(value: Result<DelResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<DocSubscribeResponse, Error>> for Response

Source§

fn from(value: Result<DocSubscribeResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<DropResponse, Error>> for Response

Source§

fn from(value: Result<DropResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<GetDownloadPolicyResponse, Error>> for Response

Source§

fn from(value: Result<GetDownloadPolicyResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<GetExactResponse, Error>> for Response

Source§

fn from(value: Result<GetExactResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<GetManyResponse, Error>> for Response

Source§

fn from(value: Result<GetManyResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<GetSyncPeersResponse, Error>> for Response

Source§

fn from(value: Result<GetSyncPeersResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<ImportResponse, Error>> for Response

Source§

fn from(value: Result<ImportResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<LeaveResponse, Error>> for Response

Source§

fn from(value: Result<LeaveResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<ListResponse, Error>> for Response

Source§

fn from(value: Result<ListResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<OpenResponse, Error>> for Response

Source§

fn from(value: Result<OpenResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<SetDownloadPolicyResponse, Error>> for Response

Source§

fn from(value: Result<SetDownloadPolicyResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<SetHashResponse, Error>> for Response

Source§

fn from(value: Result<SetHashResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<SetResponse, Error>> for Response

Source§

fn from(value: Result<SetResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<ShareResponse, Error>> for Response

Source§

fn from(value: Result<ShareResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<StartSyncResponse, Error>> for Response

Source§

fn from(value: Result<StartSyncResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<StatusResponse, Error>> for Response

Source§

fn from(value: Result<StatusResponse, Error>) -> Self

Converts to this type from the input type.
Source§

impl From<Result<StreamCreated, Error>> for Response

Source§

fn from(value: Result<StreamCreated, Error>) -> Self

Converts to this type from the input type.
Source§

impl Serialize for Response

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'a> TryFrom<&'a Response> for &'a ExportFileResponse

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 ImportFileResponse

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 Result<AuthorCreateResponse, Error>

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 Result<AuthorDeleteResponse, Error>

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 Result<AuthorExportResponse, Error>

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 Result<AuthorGetDefaultResponse, Error>

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 Result<AuthorImportResponse, Error>

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 Result<AuthorListResponse, Error>

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 Result<AuthorSetDefaultResponse, Error>

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 Result<CloseResponse, Error>

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 Result<CreateResponse, Error>

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 Result<DelResponse, Error>

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 Result<DocSubscribeResponse, Error>

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 Result<DropResponse, Error>

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 Result<GetDownloadPolicyResponse, Error>

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 Result<GetExactResponse, Error>

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 Result<GetManyResponse, Error>

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 Result<GetSyncPeersResponse, Error>

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 Result<ImportResponse, Error>

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 Result<LeaveResponse, Error>

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 Result<ListResponse, Error>

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 Result<OpenResponse, Error>

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 Result<SetDownloadPolicyResponse, Error>

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 Result<SetHashResponse, Error>

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 Result<SetResponse, Error>

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 Result<ShareResponse, Error>

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 Result<StartSyncResponse, Error>

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 Result<StatusResponse, Error>

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 Result<StreamCreated, Error>

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 ExportFileResponse

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 ImportFileResponse

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 Result<AuthorCreateResponse, Error>

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 Result<AuthorDeleteResponse, Error>

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 Result<AuthorExportResponse, Error>

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 Result<AuthorGetDefaultResponse, Error>

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 Result<AuthorImportResponse, Error>

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 Result<AuthorListResponse, Error>

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 Result<AuthorSetDefaultResponse, Error>

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 Result<CloseResponse, Error>

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 Result<CreateResponse, Error>

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 Result<DelResponse, Error>

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 Result<DocSubscribeResponse, Error>

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 Result<DropResponse, Error>

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 Result<GetDownloadPolicyResponse, Error>

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 Result<GetExactResponse, Error>

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 Result<GetManyResponse, Error>

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 Result<GetSyncPeersResponse, Error>

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 Result<ImportResponse, Error>

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 Result<LeaveResponse, Error>

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 Result<ListResponse, Error>

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 Result<OpenResponse, Error>

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 Result<SetDownloadPolicyResponse, Error>

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 Result<SetHashResponse, Error>

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 Result<SetResponse, Error>

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 Result<ShareResponse, Error>

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 Result<StartSyncResponse, Error>

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 Result<StatusResponse, Error>

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 Result<StreamCreated, Error>

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.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

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

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSendSync for T

§

impl<T> RpcMessage for T
where T: Debug + Serialize + DeserializeOwned + Send + Sync + Unpin + 'static,