#[non_exhaustive]pub struct ListPackageVersionsRequest {
pub package_id: Option<String>,
pub page_size: Option<u32>,
pub page_token: Option<Bytes>,
pub options: Option<QueryOptions>,
pub start_version: Option<u64>,
pub end_version: Option<u64>,
pub start_checkpoint: Option<u64>,
pub end_checkpoint: Option<u64>,
}Expand description
Servers without the indexes this method needs fail it with UNIMPLEMENTED
and reason NOT_SERVED_HERE. Servers may fail any ListPackageVersions
request with UNAVAILABLE and reason NOT_READY while they rebuild history
after restoring from a snapshot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.package_id: Option<String>The storage_id of any version of a package, to list the versions of
that package’s upgrade lineage. When unset, the request lists the
versions of every package by publish checkpoint (see options).
page_size: Option<u32>The maximum number of versions to return. The service may return fewer than this value.
If unspecified, at most 1000 entries will be returned.
The maximum value is 10000; values above 10000 will be coerced to 10000.
New clients use options. Must be unset when package_id is unset or
the request sets options, start_version, end_version,
start_checkpoint or end_checkpoint (INVALID_ARGUMENT otherwise).
page_token: Option<Bytes>A page token, received from a previous ListPackageVersions call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPackageVersions must
match the call that provided the page token.
A page token names the first version of the next page, so the client
holds the version below it. A page token naming a version past what this
server has indexed gets an empty page without next_page_token. A page
token whose next page would skip versions the server does not retain
fails with OUT_OF_RANGE (see options).
New clients use options. Must be unset when package_id is unset or
the request sets options, start_version, end_version,
start_checkpoint or end_checkpoint (INVALID_ARGUMENT otherwise).
options: Option<QueryOptions>Optional. Cursor paging (see QueryOptions). A request with package_id
unset, or with start_version, end_version, start_checkpoint or
end_checkpoint set, pages this way even without options. page_size
and page_token must then be unset. Every response sets end and never
next_page_token. Servers that predate these fields ignore them and
never set end.
With package_id set, this listing is ordered by ascending version. With
package_id unset, it is ordered by ascending publish checkpoint, then
original_id, then version. limit defaults to 1000 and is coerced to
at most 10000. Every page but the last holds limit versions. Resume
from the last version’s cursor, as after when ascending or before
when descending. A malformed cursor, or one from another listing (of
another package, or of every package when package_id is set, or vice
versa), fails with INVALID_ARGUMENT. A cursor also records the highest
checkpoint the server that returned it had indexed.
With package_id set, a package this server has not indexed is
NOT_FOUND, as in GetPackage, unless a cursor comes from a server that
has indexed further; such a cursor is handled as a cursor past the tip.
Past what this server has indexed, the listing follows the
LedgerService List* RPCs (see ErrorReason.ABOVE_LATEST_AVAILABLE).
A descending listing fails with OUT_OF_RANGE when its end_checkpoint
is above firstUnavailableCheckpoint (one above the highest checkpoint
the server has indexed), or, with end_checkpoint unset, when its
start_checkpoint is at or above firstUnavailableCheckpoint or a
cursor names a version this server has not indexed. An ascending listing
is never refused for these: unless end_version or a before cursor
ends it first, it lists through the highest indexed checkpoint and ends
with QUERY_END_REASON_LEDGER_TIP.
On a server that prunes history, a listing of one package in cursor
paging with start_checkpoint unset covers only the versions the server
stores: a version range that starts below the oldest of them starts at
it, so a descending listing without an after cursor ends there with a
short last page, and one with only a before cursor at or below that
version lists nothing. Nothing marks that version as different from a
package’s first version.
A request that continues a listing names a version the client already
holds: the version an after cursor names, or the version below a
page_token’s. When the range starts just above that version (no higher
start_version or start_checkpoint bounds it) and versions between it
and the oldest version the server stores are gone, the request fails with
OUT_OF_RANGE and reason BELOW_EARLIEST_AVAILABLE in either ordering
rather than skip them. Such a listing can only be completed from a server
that retains those versions.
start_version: Option<u64>Optional. Start of the version range to list (inclusive). Intersects with
every other bound. Must be unset when package_id is unset.
end_version: Option<u64>Optional. End of the version range to list (exclusive). Intersects with
every other bound. Below start_version it fails with
INVALID_ARGUMENT; equal to it, the range lists nothing. Must be unset
when package_id is unset.
start_checkpoint: Option<u64>Optional. Start of the checkpoint range to list (inclusive): only
versions published in this checkpoint or later. The listing covers the
versions published in the range, not the packages’ state at one
checkpoint. Intersects with every other bound. Unless the range is
empty, servers that prune history fail with OUT_OF_RANGE and reason
BELOW_EARLIEST_AVAILABLE for a checkpoint below the lowest one they can
list every publish from, unless an after cursor bounds the listing at
or above that checkpoint.
In a listing of every package, if unset, the listing starts at that
checkpoint, which is genesis on servers that keep full history, and
covers the publishes from that checkpoint on: a descending listing
without an after cursor at or above that checkpoint ends there with a
short last page. With start_checkpoint unset, a listing in either
order after an after cursor below that checkpoint fails with
OUT_OF_RANGE and reason BELOW_EARLIEST_AVAILABLE rather than skip
the publishes in between. A before cursor below that checkpoint leaves
nothing to list.
Servers that predate this field fail requests with package_id unset
with INVALID_ARGUMENT.
end_checkpoint: Option<u64>Optional. End of the checkpoint range to list (exclusive): only versions
published before this checkpoint. Below start_checkpoint it fails with
INVALID_ARGUMENT; equal to it, the range lists nothing and is never
refused as pruned. If unset, the range ends at the highest checkpoint the
server has indexed. In a request with no lower bound of its own (no
start_checkpoint and no after cursor), an end_checkpoint at or
below the lowest checkpoint the server can list every publish from fails
with OUT_OF_RANGE and reason BELOW_EARLIEST_AVAILABLE.
With end_checkpoint set, QUERY_END_REASON_LEDGER_TIP means the server
stopped at its highest indexed checkpoint, short of end_checkpoint:
retry later or on another replica.
Implementations§
Source§impl ListPackageVersionsRequest
impl ListPackageVersionsRequest
pub const PACKAGE_ID_FIELD: &'static MessageField
pub const PAGE_SIZE_FIELD: &'static MessageField
pub const PAGE_TOKEN_FIELD: &'static MessageField
pub const OPTIONS_FIELD: &'static MessageField
pub const START_VERSION_FIELD: &'static MessageField
pub const END_VERSION_FIELD: &'static MessageField
pub const START_CHECKPOINT_FIELD: &'static MessageField
pub const END_CHECKPOINT_FIELD: &'static MessageField
Source§impl ListPackageVersionsRequest
impl ListPackageVersionsRequest
pub fn path_builder() -> ListPackageVersionsRequestFieldPathBuilder
Source§impl ListPackageVersionsRequest
impl ListPackageVersionsRequest
pub const fn const_default() -> Self
Sourcepub fn package_id_opt_mut(&mut self) -> Option<&mut String>
pub fn package_id_opt_mut(&mut self) -> Option<&mut String>
Sourcepub fn package_id_mut(&mut self) -> &mut String
pub fn package_id_mut(&mut self) -> &mut String
Returns a mutable reference to package_id.
If the field is unset, it is first initialized with the default value.
Sourcepub fn package_id_opt(&self) -> Option<&str>
pub fn package_id_opt(&self) -> Option<&str>
Sourcepub fn set_package_id<T: Into<String>>(&mut self, field: T)
pub fn set_package_id<T: Into<String>>(&mut self, field: T)
Sets package_id with the provided value.
Sourcepub fn with_package_id<T: Into<String>>(self, field: T) -> Self
pub fn with_package_id<T: Into<String>>(self, field: T) -> Self
Sets package_id with the provided value.
Sourcepub fn page_size_opt_mut(&mut self) -> Option<&mut u32>
pub fn page_size_opt_mut(&mut self) -> Option<&mut u32>
Sourcepub fn page_size_mut(&mut self) -> &mut u32
pub fn page_size_mut(&mut self) -> &mut u32
Returns a mutable reference to page_size.
If the field is unset, it is first initialized with the default value.
Sourcepub fn page_size_opt(&self) -> Option<u32>
pub fn page_size_opt(&self) -> Option<u32>
Sourcepub fn set_page_size(&mut self, field: u32)
pub fn set_page_size(&mut self, field: u32)
Sets page_size with the provided value.
Sourcepub fn with_page_size(self, field: u32) -> Self
pub fn with_page_size(self, field: u32) -> Self
Sets page_size with the provided value.
Sourcepub fn page_token_opt(&self) -> Option<&[u8]>
pub fn page_token_opt(&self) -> Option<&[u8]>
Sourcepub fn set_page_token<T: Into<Bytes>>(&mut self, field: T)
pub fn set_page_token<T: Into<Bytes>>(&mut self, field: T)
Sets page_token with the provided value.
Sourcepub fn with_page_token<T: Into<Bytes>>(self, field: T) -> Self
pub fn with_page_token<T: Into<Bytes>>(self, field: T) -> Self
Sets page_token with the provided value.
Sourcepub fn options(&self) -> &QueryOptions
pub fn options(&self) -> &QueryOptions
Returns the value of options, or the default value if options is unset.
Sourcepub fn options_opt_mut(&mut self) -> Option<&mut QueryOptions>
pub fn options_opt_mut(&mut self) -> Option<&mut QueryOptions>
Sourcepub fn options_mut(&mut self) -> &mut QueryOptions
pub fn options_mut(&mut self) -> &mut QueryOptions
Returns a mutable reference to options.
If the field is unset, it is first initialized with the default value.
Sourcepub fn options_opt(&self) -> Option<&QueryOptions>
pub fn options_opt(&self) -> Option<&QueryOptions>
Sourcepub fn set_options<T: Into<QueryOptions>>(&mut self, field: T)
pub fn set_options<T: Into<QueryOptions>>(&mut self, field: T)
Sets options with the provided value.
Sourcepub fn with_options<T: Into<QueryOptions>>(self, field: T) -> Self
pub fn with_options<T: Into<QueryOptions>>(self, field: T) -> Self
Sets options with the provided value.
Sourcepub fn start_version_opt_mut(&mut self) -> Option<&mut u64>
pub fn start_version_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn start_version_mut(&mut self) -> &mut u64
pub fn start_version_mut(&mut self) -> &mut u64
Returns a mutable reference to start_version.
If the field is unset, it is first initialized with the default value.
Sourcepub fn start_version_opt(&self) -> Option<u64>
pub fn start_version_opt(&self) -> Option<u64>
Sourcepub fn set_start_version(&mut self, field: u64)
pub fn set_start_version(&mut self, field: u64)
Sets start_version with the provided value.
Sourcepub fn with_start_version(self, field: u64) -> Self
pub fn with_start_version(self, field: u64) -> Self
Sets start_version with the provided value.
Sourcepub fn end_version_opt_mut(&mut self) -> Option<&mut u64>
pub fn end_version_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn end_version_mut(&mut self) -> &mut u64
pub fn end_version_mut(&mut self) -> &mut u64
Returns a mutable reference to end_version.
If the field is unset, it is first initialized with the default value.
Sourcepub fn end_version_opt(&self) -> Option<u64>
pub fn end_version_opt(&self) -> Option<u64>
Sourcepub fn set_end_version(&mut self, field: u64)
pub fn set_end_version(&mut self, field: u64)
Sets end_version with the provided value.
Sourcepub fn with_end_version(self, field: u64) -> Self
pub fn with_end_version(self, field: u64) -> Self
Sets end_version with the provided value.
Sourcepub fn start_checkpoint_opt_mut(&mut self) -> Option<&mut u64>
pub fn start_checkpoint_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn start_checkpoint_mut(&mut self) -> &mut u64
pub fn start_checkpoint_mut(&mut self) -> &mut u64
Returns a mutable reference to start_checkpoint.
If the field is unset, it is first initialized with the default value.
Sourcepub fn start_checkpoint_opt(&self) -> Option<u64>
pub fn start_checkpoint_opt(&self) -> Option<u64>
Sourcepub fn set_start_checkpoint(&mut self, field: u64)
pub fn set_start_checkpoint(&mut self, field: u64)
Sets start_checkpoint with the provided value.
Sourcepub fn with_start_checkpoint(self, field: u64) -> Self
pub fn with_start_checkpoint(self, field: u64) -> Self
Sets start_checkpoint with the provided value.
Sourcepub fn end_checkpoint_opt_mut(&mut self) -> Option<&mut u64>
pub fn end_checkpoint_opt_mut(&mut self) -> Option<&mut u64>
Sourcepub fn end_checkpoint_mut(&mut self) -> &mut u64
pub fn end_checkpoint_mut(&mut self) -> &mut u64
Returns a mutable reference to end_checkpoint.
If the field is unset, it is first initialized with the default value.
Sourcepub fn end_checkpoint_opt(&self) -> Option<u64>
pub fn end_checkpoint_opt(&self) -> Option<u64>
Sourcepub fn set_end_checkpoint(&mut self, field: u64)
pub fn set_end_checkpoint(&mut self, field: u64)
Sets end_checkpoint with the provided value.
Sourcepub fn with_end_checkpoint(self, field: u64) -> Self
pub fn with_end_checkpoint(self, field: u64) -> Self
Sets end_checkpoint with the provided value.
Source§impl ListPackageVersionsRequest
impl ListPackageVersionsRequest
Sourcepub fn package_id(&self) -> &str
pub fn package_id(&self) -> &str
Returns the value of package_id, or the default value if package_id is unset.
Sourcepub fn page_size(&self) -> u32
pub fn page_size(&self) -> u32
Returns the value of page_size, or the default value if page_size is unset.
Sourcepub fn page_token(&self) -> &[u8] ⓘ
pub fn page_token(&self) -> &[u8] ⓘ
Returns the value of page_token, or the default value if page_token is unset.
Sourcepub fn start_version(&self) -> u64
pub fn start_version(&self) -> u64
Returns the value of start_version, or the default value if start_version is unset.
Sourcepub fn end_version(&self) -> u64
pub fn end_version(&self) -> u64
Returns the value of end_version, or the default value if end_version is unset.
Sourcepub fn start_checkpoint(&self) -> u64
pub fn start_checkpoint(&self) -> u64
Returns the value of start_checkpoint, or the default value if start_checkpoint is unset.
Sourcepub fn end_checkpoint(&self) -> u64
pub fn end_checkpoint(&self) -> u64
Returns the value of end_checkpoint, or the default value if end_checkpoint is unset.
Trait Implementations§
Source§impl Clone for ListPackageVersionsRequest
impl Clone for ListPackageVersionsRequest
Source§impl Debug for ListPackageVersionsRequest
impl Debug for ListPackageVersionsRequest
Source§impl Default for ListPackageVersionsRequest
impl Default for ListPackageVersionsRequest
§impl<'de> Deserialize<'de> for ListPackageVersionsRequest
impl<'de> Deserialize<'de> for ListPackageVersionsRequest
§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
impl Eq for ListPackageVersionsRequest
Source§impl Hash for ListPackageVersionsRequest
impl Hash for ListPackageVersionsRequest
Source§impl Message for ListPackageVersionsRequest
impl Message for ListPackageVersionsRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl MessageFields for ListPackageVersionsRequest
impl MessageFields for ListPackageVersionsRequest
const FIELDS: &'static [&'static MessageField]
§impl Serialize for ListPackageVersionsRequest
impl Serialize for ListPackageVersionsRequest
impl StructuralPartialEq for ListPackageVersionsRequest
Auto Trait Implementations§
impl !Freeze for ListPackageVersionsRequest
impl RefUnwindSafe for ListPackageVersionsRequest
impl Send for ListPackageVersionsRequest
impl Sync for ListPackageVersionsRequest
impl Unpin for ListPackageVersionsRequest
impl UnsafeUnpin for ListPackageVersionsRequest
impl UnwindSafe for ListPackageVersionsRequest
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
U: Sized,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
U: Sized,
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Source§impl<'de, T> FromBcs for Twhere
T: Deserialize<'de>,
impl<'de, T> FromBcs for Twhere
T: Deserialize<'de>,
fn from_bcs<'de>(bytes: &'de [u8]) -> Result<Self, Error>where
Self: Deserialize<'de>,
fn from_bcs_base64(base64: &str) -> Result<Self, Error>where
Self: DeserializeOwned,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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 more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§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.