Skip to main content

InstanceState

Struct InstanceState 

Source
pub struct InstanceState<CF: ClientFactory> {
    pub semaphore: ConnectionSemaphore,
    /* private fields */
}

Fields§

§semaphore: ConnectionSemaphore

Trait Implementations§

Source§

impl<CF: ClientFactory> HasData for InstanceState<CF>

Source§

type Data<'a> = &'a mut InstanceState<CF>

The data associated with this trait implementation, chiefly used as a generic associated type to allow plumbing the 'a lifetime into the definition here. Read more
Source§

impl<CF: ClientFactory> Host for InstanceState<CF>

Source§

fn convert_error(&mut self, error: Error) -> Result<Error>

Source§

impl<CF: ClientFactory> Host for InstanceState<CF>

Source§

fn convert_error(&mut self, error: Error) -> Result<Error>

Source§

impl<CF: ClientFactory> Host for InstanceState<CF>

Source§

fn convert_error(&mut self, error: Error) -> Result<Error>

Source§

impl<CF: ClientFactory> Host for InstanceState<CF>

Source§

impl<CF: ClientFactory> Host for InstanceState<CF>

Source§

async fn execute( &mut self, address: String, statement: String, params: Vec<ParameterValue>, ) -> Result<u64, PgError>

execute command to the database: insert, update, delete
Source§

async fn query( &mut self, address: String, statement: String, params: Vec<ParameterValue>, ) -> Result<RowSet, PgError>

query the database: select
Source§

fn convert_pg_error(&mut self, error: PgError) -> Result<PgError>

Source§

impl<CF: ClientFactory> HostConnection for InstanceState<CF>

Source§

async fn open(&mut self, address: String) -> Result<Resource<Connection>, Error>

Open a connection to the Postgres instance at address.
Source§

async fn execute( &mut self, connection: Resource<Connection>, statement: String, params: Vec<ParameterValue>, ) -> Result<u64, Error>

Execute command to the database.
Source§

async fn query( &mut self, connection: Resource<Connection>, statement: String, params: Vec<ParameterValue>, ) -> Result<RowSet, Error>

Query the database.
Source§

async fn drop(&mut self, connection: Resource<Connection>) -> Result<()>

Source§

impl<CF: ClientFactory> HostConnection for InstanceState<CF>

Source§

async fn open(&mut self, address: String) -> Result<Resource<Connection>, Error>

Open a connection to the Postgres instance at address.
Source§

async fn execute( &mut self, connection: Resource<Connection>, statement: String, params: Vec<ParameterValue>, ) -> Result<u64, Error>

Execute command to the database.
Source§

async fn query( &mut self, connection: Resource<Connection>, statement: String, params: Vec<ParameterValue>, ) -> Result<RowSet, Error>

Query the database.
Source§

async fn drop(&mut self, connection: Resource<Connection>) -> Result<()>

Source§

impl<CF: ClientFactory> HostConnection for InstanceState<CF>

Source§

async fn open(&mut self, address: String) -> Result<Resource<Connection>, Error>

Open a connection to the Postgres instance at address.
Source§

async fn execute( &mut self, connection: Resource<Connection>, statement: String, params: Vec<ParameterValue>, ) -> Result<u64, Error>

Execute command to the database.
Source§

async fn query( &mut self, connection: Resource<Connection>, statement: String, params: Vec<ParameterValue>, ) -> Result<RowSet, Error>

Query the database.
Source§

async fn drop(&mut self, connection: Resource<Connection>) -> Result<()>

Source§

impl<CF: ClientFactory> HostConnectionBuilder for InstanceState<CF>

Source§

async fn new(&mut self, address: String) -> Result<Resource<ConnectionBuilder>>

Source§

async fn set_ca_root( &mut self, self_: Resource<ConnectionBuilder>, certificate: String, ) -> Result<(), Error>

Source§

async fn build( &mut self, self_: Resource<ConnectionBuilder>, ) -> Result<Resource<Connection>, Error>

Source§

async fn drop(&mut self, builder: Resource<ConnectionBuilder>) -> Result<()>

Source§

impl<CF: ClientFactory> SelfInstanceBuilder for InstanceState<CF>

Auto Trait Implementations§

§

impl<CF> !RefUnwindSafe for InstanceState<CF>

§

impl<CF> !UnwindSafe for InstanceState<CF>

§

impl<CF> Freeze for InstanceState<CF>

§

impl<CF> Send for InstanceState<CF>

§

impl<CF> Sync for InstanceState<CF>

§

impl<CF> Unpin for InstanceState<CF>
where <CF as ClientFactory>::Client: Unpin,

§

impl<CF> UnsafeUnpin for InstanceState<CF>

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
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> FactorInstanceBuilder for T
where T: SelfInstanceBuilder,

§

type InstanceState = T

The per instance state of the factor. Read more
§

fn build(self) -> Result<<T as FactorInstanceBuilder>::InstanceState, Error>

Build the per instance state of the factor.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
§

impl<H, T> HostBucketWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostCasWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostConnectionWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostDescriptorWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostDescriptorWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostDescriptorWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostDescriptorWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostDescriptorWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostDirectoryEntryStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostDirectoryEntryStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostDirectoryEntryStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostDirectoryEntryStreamWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostDirectoryEntryStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostErrorWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostErrorWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostErrorWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostErrorWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostFieldsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFieldsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFieldsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFieldsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFutureIncomingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFutureIncomingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFutureIncomingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFutureTrailersWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFutureTrailersWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostFutureTrailersWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingBodyWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingBodyWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingBodyWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingDatagramStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingDatagramStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingDatagramStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostIncomingDatagramStreamWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostIncomingDatagramStreamWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostIncomingRequestWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingRequestWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingRequestWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostIncomingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostInputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostInputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostInputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostInputStreamWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostInputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostNetworkWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostNetworkWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostNetworkWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostNetworkWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostOutgoingBodyWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingBodyWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingBodyWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingDatagramStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingDatagramStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingDatagramStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostOutgoingDatagramStreamWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostOutgoingDatagramStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingRequestWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingRequestWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingRequestWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutgoingResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostOutputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostOutputStreamWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostOutputStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostPollableWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostPollableWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostPollableWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostPollableWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostPollableWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostRequestOptionsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostRequestOptionsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostRequestOptionsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostRequestOptionsWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostRequestWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostResolveAddressStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostResolveAddressStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostResolveAddressStreamWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostResolveAddressStreamWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostResolveAddressStreamWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostResponseOutparamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostResponseOutparamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostResponseOutparamWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostResponseWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostStoreWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostTcpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostTcpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostTcpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostTcpSocketWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostTcpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostTerminalInputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostTerminalInputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostTerminalInputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostTerminalInputWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostTerminalInputWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostTerminalInputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostTerminalOutputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostTerminalOutputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostTerminalOutputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostTerminalOutputWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostTerminalOutputWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostTerminalOutputWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostUdpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostUdpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostUdpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

Source§

impl<H, T> HostUdpSocketWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostUdpSocketWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostStoreWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostConnectionWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalInputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalOutputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalInputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalOutputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalInputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalOutputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalInputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTerminalOutputWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostDescriptorWithStore<T> + HostDirectoryEntryStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostDescriptorWithStore<T> + HostDirectoryEntryStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostDescriptorWithStore<T> + HostDirectoryEntryStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostFieldsWithStore<T> + HostIncomingRequestWithStore<T> + HostOutgoingRequestWithStore<T> + HostRequestOptionsWithStore<T> + HostResponseOutparamWithStore<T> + HostIncomingResponseWithStore<T> + HostIncomingBodyWithStore<T> + HostFutureTrailersWithStore<T> + HostOutgoingResponseWithStore<T> + HostOutgoingBodyWithStore<T> + HostFutureIncomingResponseWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostFieldsWithStore<T> + HostIncomingRequestWithStore<T> + HostOutgoingRequestWithStore<T> + HostRequestOptionsWithStore<T> + HostResponseOutparamWithStore<T> + HostIncomingResponseWithStore<T> + HostIncomingBodyWithStore<T> + HostFutureTrailersWithStore<T> + HostOutgoingResponseWithStore<T> + HostOutgoingBodyWithStore<T> + HostFutureIncomingResponseWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostFieldsWithStore<T> + HostIncomingRequestWithStore<T> + HostOutgoingRequestWithStore<T> + HostRequestOptionsWithStore<T> + HostResponseOutparamWithStore<T> + HostIncomingResponseWithStore<T> + HostIncomingBodyWithStore<T> + HostFutureTrailersWithStore<T> + HostOutgoingResponseWithStore<T> + HostOutgoingBodyWithStore<T> + HostFutureIncomingResponseWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostFieldsWithStore<T> + HostRequestWithStore<T> + HostRequestOptionsWithStore<T> + HostResponseWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostPollableWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostErrorWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostInputStreamWithStore<T> + HostOutputStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostPollableWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostErrorWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostInputStreamWithStore<T> + HostOutputStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostPollableWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostErrorWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostInputStreamWithStore<T> + HostOutputStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostBucketWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostCasWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostNetworkWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostUdpSocketWithStore<T> + HostIncomingDatagramStreamWithStore<T> + HostOutgoingDatagramStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTcpSocketWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostResolveAddressStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostNetworkWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostUdpSocketWithStore<T> + HostIncomingDatagramStreamWithStore<T> + HostOutgoingDatagramStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTcpSocketWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostResolveAddressStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostNetworkWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostUdpSocketWithStore<T> + HostIncomingDatagramStreamWithStore<T> + HostOutgoingDatagramStreamWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostTcpSocketWithStore<T> + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + Send + ?Sized,

§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostResolveAddressStreamWithStore<T> + Send + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H
where H: HasData + HostErrorWithStore<T> + ?Sized,

Source§

impl<H, T> HostWithStore<T> for H

Source§

impl<H, T> HostWithStore<T> for H

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.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

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

Initializes a with the given initializer. Read more
Source§

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

Dereferences the given pointer. Read more
Source§

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

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

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

impl<T> Pointee for T

Source§

type Pointer = u32

Source§

fn debug( pointer: <T as Pointee>::Pointer, f: &mut Formatter<'_>, ) -> Result<(), Error>

Source§

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

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
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.
Source§

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

Source§

fn vzip(self) -> V

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