pub struct IbcQuery<HI: HostInterface> { /* private fields */ }
component
and rpc
only.Implementations§
Trait Implementations§
Source§impl<HI: HostInterface + Send + Sync + 'static> Query for IbcQuery<HI>
impl<HI: HostInterface + Send + Sync + 'static> Query for IbcQuery<HI>
Source§fn client_states<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryClientStatesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientStatesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn client_states<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryClientStatesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientStatesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ClientStates queries all the IBC light clients of a chain.
Source§fn consensus_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn consensus_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ConsensusState queries a consensus state associated with a client state at a given height.
Source§fn consensus_states<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConsensusStatesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConsensusStatesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn consensus_states<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConsensusStatesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConsensusStatesResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ConsensusStates queries all the consensus state associated with a given client.
Source§fn consensus_state_heights<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConsensusStateHeightsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConsensusStateHeightsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn consensus_state_heights<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConsensusStateHeightsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConsensusStateHeightsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ConsensusStateHeights queries the height of every consensus states associated with a given client.
Source§fn client_status<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryClientStatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientStatusResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn client_status<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryClientStatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientStatusResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Status queries the status of an IBC client.
Source§fn client_params<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryClientParamsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn client_params<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryClientParamsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ClientParams queries all parameters of the ibc client.
Source§fn upgraded_client_state<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryUpgradedClientStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUpgradedClientStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn upgraded_client_state<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryUpgradedClientStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUpgradedClientStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
UpgradedClientState queries an Upgraded IBC light client.
Source§fn upgraded_consensus_state<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryUpgradedConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUpgradedConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn upgraded_consensus_state<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryUpgradedConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUpgradedConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
UpgradedConsensusState queries an Upgraded IBC consensus state.
Source§impl<HI: HostInterface + Send + Sync + 'static> Query for IbcQuery<HI>
impl<HI: HostInterface + Send + Sync + 'static> Query for IbcQuery<HI>
Source§fn connection<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Connection queries an IBC connection end.
Source§fn connections<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryConnectionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connections<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryConnectionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Connections queries all the IBC connections of a chain.
Source§fn client_connections<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryClientConnectionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientConnectionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn client_connections<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryClientConnectionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryClientConnectionsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ClientConnections queries the connection paths associated with a client state.
Source§fn connection_client_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionClientStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionClientStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_client_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionClientStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionClientStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ConnectionClientState queries the client state associated with the connection.
Source§fn connection_consensus_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_consensus_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ConnectionConsensusState queries the consensus state associated with the connection.
Source§fn connection_params<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryConnectionParamsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_params<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryConnectionParamsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionParamsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl<HI: HostInterface + Send + Sync + 'static> Query for IbcQuery<HI>
impl<HI: HostInterface + Send + Sync + 'static> Query for IbcQuery<HI>
Source§fn channel<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryChannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn channel<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryChannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Channel queries an IBC Channel.
Source§fn channels<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryChannelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn channels<'life0, 'async_trait>(
&'life0 self,
_request: Request<QueryChannelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Channels queries all the IBC channels of a chain.
Source§fn connection_channels<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionChannelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionChannelsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn connection_channels<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryConnectionChannelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryConnectionChannelsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ConnectionChannels queries all the channels associated with a connection end.
Source§fn channel_client_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryChannelClientStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelClientStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn channel_client_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryChannelClientStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelClientStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ChannelClientState queries for the client state for the channel associated with the provided channel identifiers.
Source§fn channel_consensus_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryChannelConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn channel_consensus_state<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryChannelConsensusStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryChannelConsensusStateResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ChannelConsensusState queries for the consensus state for the channel associated with the provided channel identifiers.
Source§fn packet_commitment<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketCommitmentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketCommitmentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn packet_commitment<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketCommitmentRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketCommitmentResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PacketCommitment queries a stored packet commitment hash.
Source§fn packet_commitments<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketCommitmentsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketCommitmentsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn packet_commitments<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketCommitmentsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketCommitmentsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PacketCommitments returns all the packet commitments hashes associated with a channel.
Source§fn packet_receipt<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketReceiptRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketReceiptResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn packet_receipt<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketReceiptRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketReceiptResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PacketReceipt queries if a given packet sequence has been received on the queried chain
Source§fn packet_acknowledgement<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketAcknowledgementRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketAcknowledgementResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn packet_acknowledgement<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketAcknowledgementRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketAcknowledgementResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PacketAcknowledgement queries a stored packet acknowledgement hash.
Source§fn packet_acknowledgements<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketAcknowledgementsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketAcknowledgementsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn packet_acknowledgements<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryPacketAcknowledgementsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryPacketAcknowledgementsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
PacketAcknowledgements returns all the packet acknowledgements associated with a channel.
Source§fn unreceived_packets<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryUnreceivedPacketsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUnreceivedPacketsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unreceived_packets<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryUnreceivedPacketsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUnreceivedPacketsResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
UnreceivedPackets returns all the unreceived IBC packets associated with a channel and sequences.
Source§fn unreceived_acks<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryUnreceivedAcksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUnreceivedAcksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unreceived_acks<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryUnreceivedAcksRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryUnreceivedAcksResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
UnreceivedAcks returns all the unreceived IBC acknowledgements associated with a channel and sequences.
Source§fn next_sequence_receive<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryNextSequenceReceiveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextSequenceReceiveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn next_sequence_receive<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryNextSequenceReceiveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextSequenceReceiveResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
NextSequenceReceive returns the next receive sequence for a given channel.
Source§fn next_sequence_send<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryNextSequenceSendRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextSequenceSendResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn next_sequence_send<'life0, 'async_trait>(
&'life0 self,
request: Request<QueryNextSequenceSendRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<QueryNextSequenceSendResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the next send sequence for a given channel.
Auto Trait Implementations§
impl<HI> Freeze for IbcQuery<HI>
impl<HI> !RefUnwindSafe for IbcQuery<HI>
impl<HI> Send for IbcQuery<HI>where
HI: Send,
impl<HI> Sync for IbcQuery<HI>where
HI: Sync,
impl<HI> Unpin for IbcQuery<HI>where
HI: Unpin,
impl<HI> !UnwindSafe for IbcQuery<HI>
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.