Struct mz_adapter::catalog::ConnCatalog
source · pub struct ConnCatalog<'a> { /* private fields */ }
Implementations§
source§impl ConnCatalog<'_>
impl ConnCatalog<'_>
pub fn conn_id(&self) -> &ConnectionId
pub fn state(&self) -> &CatalogState
sourcepub fn mark_id_unresolvable_for_replanning(&mut self, id: GlobalId)
pub fn mark_id_unresolvable_for_replanning(&mut self, id: GlobalId)
Prevent planning from resolving item with the provided ID. Instead, return an error as if the item did not exist.
This feature is meant exclusively to permit re-planning statements during update operations and should not be used otherwise given its extremely “powerful” semantics.
§Panics
If the catalog’s role ID is not MZ_SYSTEM_ROLE_ID
.
sourcepub fn effective_search_path(
&self,
include_temp_schema: bool
) -> Vec<(ResolvedDatabaseSpecifier, SchemaSpecifier)>
pub fn effective_search_path( &self, include_temp_schema: bool ) -> Vec<(ResolvedDatabaseSpecifier, SchemaSpecifier)>
Returns the schemas:
- mz_catalog
- pg_catalog
- temp (if requested)
- all schemas from the session’s search_path var that exist
Trait Implementations§
source§impl ConnectionResolver for ConnCatalog<'_>
impl ConnectionResolver for ConnCatalog<'_>
fn resolve_connection(&self, id: GlobalId) -> Connection<InlinedConnection>
source§impl<'a> Debug for ConnCatalog<'a>
impl<'a> Debug for ConnCatalog<'a>
source§impl ExprHumanizer for ConnCatalog<'_>
impl ExprHumanizer for ConnCatalog<'_>
source§fn humanize_id(&self, id: GlobalId) -> Option<String>
fn humanize_id(&self, id: GlobalId) -> Option<String>
Attempts to return a human-readable string for the relation
identified by
id
.source§fn humanize_id_unqualified(&self, id: GlobalId) -> Option<String>
fn humanize_id_unqualified(&self, id: GlobalId) -> Option<String>
Same as above, but without qualifications, e.g., only
foo
for materialize.public.foo
.source§fn humanize_id_parts(&self, id: GlobalId) -> Option<Vec<String>>
fn humanize_id_parts(&self, id: GlobalId) -> Option<Vec<String>>
Like
Self::humanize_id
, but returns the consituent parts of the
name as individual elements.source§fn humanize_scalar_type(&self, typ: &ScalarType) -> String
fn humanize_scalar_type(&self, typ: &ScalarType) -> String
Returns a human-readable name for the specified scalar type.
source§fn column_names_for_id(&self, id: GlobalId) -> Option<Vec<String>>
fn column_names_for_id(&self, id: GlobalId) -> Option<Vec<String>>
Returns a vector of column names for the relation identified by
id
.source§fn humanize_column_type(&self, typ: &ColumnType) -> String
fn humanize_column_type(&self, typ: &ColumnType) -> String
Returns a human-readable name for the specified column type.
source§impl SessionCatalog for ConnCatalog<'_>
impl SessionCatalog for ConnCatalog<'_>
source§fn minimal_qualification(
&self,
qualified_name: &QualifiedItemName
) -> PartialItemName
fn minimal_qualification( &self, qualified_name: &QualifiedItemName ) -> PartialItemName
Returns a PartialItemName
with the minimum amount of qualifiers to unambiguously resolve
the object.
source§fn active_role_id(&self) -> &RoleId
fn active_role_id(&self) -> &RoleId
Returns the id of the role that is issuing the query.
source§fn get_prepared_statement_desc(&self, name: &str) -> Option<&StatementDesc>
fn get_prepared_statement_desc(&self, name: &str) -> Option<&StatementDesc>
Returns the descriptor of the named prepared statement on the session, or
None if the prepared statement does not exist.
source§fn active_database(&self) -> Option<&DatabaseId>
fn active_database(&self) -> Option<&DatabaseId>
Returns the database to use if one is not explicitly specified.
source§fn active_cluster(&self) -> &str
fn active_cluster(&self) -> &str
Returns the cluster to use if one is not explicitly specified.
source§fn search_path(&self) -> &[(ResolvedDatabaseSpecifier, SchemaSpecifier)]
fn search_path(&self) -> &[(ResolvedDatabaseSpecifier, SchemaSpecifier)]
Returns the resolved search paths for the current user. (Invalid search paths are skipped.)
source§fn resolve_database(
&self,
database_name: &str
) -> Result<&dyn CatalogDatabase, SqlCatalogError>
fn resolve_database( &self, database_name: &str ) -> Result<&dyn CatalogDatabase, SqlCatalogError>
Resolves the named database. Read more
source§fn get_database(&self, id: &DatabaseId) -> &dyn CatalogDatabase
fn get_database(&self, id: &DatabaseId) -> &dyn CatalogDatabase
Gets a database by its ID. Read more
source§fn get_databases(&self) -> Vec<&dyn CatalogDatabase>
fn get_databases(&self) -> Vec<&dyn CatalogDatabase>
Gets all databases.
source§fn resolve_schema(
&self,
database_name: Option<&str>,
schema_name: &str
) -> Result<&dyn CatalogSchema, SqlCatalogError>
fn resolve_schema( &self, database_name: Option<&str>, schema_name: &str ) -> Result<&dyn CatalogSchema, SqlCatalogError>
Resolves a partially-specified schema name. Read more
source§fn resolve_schema_in_database(
&self,
database_spec: &ResolvedDatabaseSpecifier,
schema_name: &str
) -> Result<&dyn CatalogSchema, SqlCatalogError>
fn resolve_schema_in_database( &self, database_spec: &ResolvedDatabaseSpecifier, schema_name: &str ) -> Result<&dyn CatalogSchema, SqlCatalogError>
Resolves a schema name within a specified database. Read more
source§fn get_schema(
&self,
database_spec: &ResolvedDatabaseSpecifier,
schema_spec: &SchemaSpecifier
) -> &dyn CatalogSchema
fn get_schema( &self, database_spec: &ResolvedDatabaseSpecifier, schema_spec: &SchemaSpecifier ) -> &dyn CatalogSchema
Gets a schema by its ID. Read more
source§fn get_schemas(&self) -> Vec<&dyn CatalogSchema>
fn get_schemas(&self) -> Vec<&dyn CatalogSchema>
Gets all schemas.
source§fn get_mz_internal_schema_id(&self) -> &SchemaId
fn get_mz_internal_schema_id(&self) -> &SchemaId
Gets the mz_internal schema id.
source§fn get_mz_unsafe_schema_id(&self) -> &SchemaId
fn get_mz_unsafe_schema_id(&self) -> &SchemaId
Gets the mz_unsafe schema id.
source§fn is_system_schema(&self, schema: &str) -> bool
fn is_system_schema(&self, schema: &str) -> bool
Returns true if
schema
is an internal system schema, false otherwisesource§fn is_system_schema_specifier(&self, schema: &SchemaSpecifier) -> bool
fn is_system_schema_specifier(&self, schema: &SchemaSpecifier) -> bool
Returns true if
schema
is an internal system schema, false otherwisesource§fn resolve_role(
&self,
role_name: &str
) -> Result<&dyn CatalogRole, SqlCatalogError>
fn resolve_role( &self, role_name: &str ) -> Result<&dyn CatalogRole, SqlCatalogError>
Resolves the named role.
source§fn try_get_role(&self, id: &RoleId) -> Option<&dyn CatalogRole>
fn try_get_role(&self, id: &RoleId) -> Option<&dyn CatalogRole>
Gets a role by its ID.
source§fn get_roles(&self) -> Vec<&dyn CatalogRole>
fn get_roles(&self) -> Vec<&dyn CatalogRole>
Gets all roles.
source§fn mz_system_role_id(&self) -> RoleId
fn mz_system_role_id(&self) -> RoleId
Gets the id of the
mz_system
role.source§fn collect_role_membership(&self, id: &RoleId) -> BTreeSet<RoleId>
fn collect_role_membership(&self, id: &RoleId) -> BTreeSet<RoleId>
Collects all role IDs that
id
is transitively a member of.source§fn resolve_cluster(
&self,
cluster_name: Option<&str>
) -> Result<&dyn CatalogCluster<'_>, SqlCatalogError>
fn resolve_cluster( &self, cluster_name: Option<&str> ) -> Result<&dyn CatalogCluster<'_>, SqlCatalogError>
Resolves the named cluster. Read more
source§fn resolve_cluster_replica(
&self,
cluster_replica_name: &QualifiedReplica
) -> Result<&dyn CatalogClusterReplica<'_>, SqlCatalogError>
fn resolve_cluster_replica( &self, cluster_replica_name: &QualifiedReplica ) -> Result<&dyn CatalogClusterReplica<'_>, SqlCatalogError>
Resolves the named cluster replica.
source§fn resolve_item(
&self,
name: &PartialItemName
) -> Result<&dyn CatalogItem, SqlCatalogError>
fn resolve_item( &self, name: &PartialItemName ) -> Result<&dyn CatalogItem, SqlCatalogError>
Resolves a partially-specified item name, that is NOT a function or
type. (For resolving functions or types, please use
SessionCatalog::resolve_function or SessionCatalog::resolve_type.) Read more
source§fn resolve_function(
&self,
name: &PartialItemName
) -> Result<&dyn CatalogItem, SqlCatalogError>
fn resolve_function( &self, name: &PartialItemName ) -> Result<&dyn CatalogItem, SqlCatalogError>
Performs the same operation as
SessionCatalog::resolve_item
but for
functions within the catalog.source§fn resolve_type(
&self,
name: &PartialItemName
) -> Result<&dyn CatalogItem, SqlCatalogError>
fn resolve_type( &self, name: &PartialItemName ) -> Result<&dyn CatalogItem, SqlCatalogError>
Performs the same operation as
SessionCatalog::resolve_item
but for
types within the catalog.source§fn get_system_type(&self, name: &str) -> &dyn CatalogItem
fn get_system_type(&self, name: &str) -> &dyn CatalogItem
Gets a type named
name
from exactly one of the system schemas. Read moresource§fn try_get_item(&self, id: &GlobalId) -> Option<&dyn CatalogItem>
fn try_get_item(&self, id: &GlobalId) -> Option<&dyn CatalogItem>
Gets an item by its ID.
source§fn get_items(&self) -> Vec<&dyn CatalogItem>
fn get_items(&self) -> Vec<&dyn CatalogItem>
Gets all items.
source§fn get_item_by_name(
&self,
name: &QualifiedItemName
) -> Option<&dyn SqlCatalogItem>
fn get_item_by_name( &self, name: &QualifiedItemName ) -> Option<&dyn SqlCatalogItem>
Looks up an item by its name.
source§fn get_type_by_name(
&self,
name: &QualifiedItemName
) -> Option<&dyn SqlCatalogItem>
fn get_type_by_name( &self, name: &QualifiedItemName ) -> Option<&dyn SqlCatalogItem>
Looks up a type by its name.
source§fn get_cluster(&self, id: ClusterId) -> &dyn CatalogCluster<'_>
fn get_cluster(&self, id: ClusterId) -> &dyn CatalogCluster<'_>
Gets a cluster by ID.
source§fn get_clusters(&self) -> Vec<&dyn CatalogCluster<'_>>
fn get_clusters(&self) -> Vec<&dyn CatalogCluster<'_>>
Gets all clusters.
source§fn get_cluster_replica(
&self,
cluster_id: ClusterId,
replica_id: ReplicaId
) -> &dyn CatalogClusterReplica<'_>
fn get_cluster_replica( &self, cluster_id: ClusterId, replica_id: ReplicaId ) -> &dyn CatalogClusterReplica<'_>
Gets a cluster replica by ID.
source§fn get_cluster_replicas(&self) -> Vec<&dyn CatalogClusterReplica<'_>>
fn get_cluster_replicas(&self) -> Vec<&dyn CatalogClusterReplica<'_>>
Gets all cluster replicas.
source§fn get_system_privileges(&self) -> &PrivilegeMap
fn get_system_privileges(&self) -> &PrivilegeMap
Gets all system privileges.
source§fn get_default_privileges(
&self
) -> Vec<(&DefaultPrivilegeObject, Vec<&DefaultPrivilegeAclItem>)>
fn get_default_privileges( &self ) -> Vec<(&DefaultPrivilegeObject, Vec<&DefaultPrivilegeAclItem>)>
Gets all default privileges.
source§fn find_available_name(&self, name: QualifiedItemName) -> QualifiedItemName
fn find_available_name(&self, name: QualifiedItemName) -> QualifiedItemName
Finds a name like
name
that is not already in use. Read moresource§fn resolve_full_name(&self, name: &QualifiedItemName) -> FullItemName
fn resolve_full_name(&self, name: &QualifiedItemName) -> FullItemName
Returns a fully qualified human readable name from fully qualified non-human readable name
source§fn resolve_full_schema_name(&self, name: &QualifiedSchemaName) -> FullSchemaName
fn resolve_full_schema_name(&self, name: &QualifiedSchemaName) -> FullSchemaName
Returns a fully qualified human readable schema name from fully qualified non-human
readable schema name
source§fn config(&self) -> &CatalogConfig
fn config(&self) -> &CatalogConfig
Returns the configuration of the catalog.
source§fn now(&self) -> EpochMillis
fn now(&self) -> EpochMillis
Returns the number of milliseconds since the system epoch. For normal use
this means the Unix epoch. This can safely be mocked in tests and start
at 0.
source§fn aws_privatelink_availability_zones(&self) -> Option<BTreeSet<String>>
fn aws_privatelink_availability_zones(&self) -> Option<BTreeSet<String>>
Returns the set of supported AWS PrivateLink availability zone ids.
source§fn system_vars(&self) -> &SystemVars
fn system_vars(&self) -> &SystemVars
Returns system vars
source§fn system_vars_mut(&mut self) -> &mut SystemVars
fn system_vars_mut(&mut self) -> &mut SystemVars
Returns mutable system vars Read more
source§fn get_owner_id(&self, id: &ObjectId) -> Option<RoleId>
fn get_owner_id(&self, id: &ObjectId) -> Option<RoleId>
Returns the
RoleId
of the owner of an object by its ID.source§fn get_privileges(&self, id: &SystemObjectId) -> Option<&PrivilegeMap>
fn get_privileges(&self, id: &SystemObjectId) -> Option<&PrivilegeMap>
Returns the
PrivilegeMap
of the object.source§fn all_object_privileges(&self, object_type: SystemObjectType) -> AclMode
fn all_object_privileges(&self, object_type: SystemObjectType) -> AclMode
Returns all possible privileges associated with an object type.
source§fn get_object_type(&self, object_id: &ObjectId) -> ObjectType
fn get_object_type(&self, object_id: &ObjectId) -> ObjectType
Returns the object type of
object_id
.source§fn get_system_object_type(&self, id: &SystemObjectId) -> SystemObjectType
fn get_system_object_type(&self, id: &SystemObjectId) -> SystemObjectType
Returns the system object type of
id
.source§fn add_notice(&self, notice: PlanNotice)
fn add_notice(&self, notice: PlanNotice)
Adds a
PlanNotice
that will be displayed to the user if the plan
successfully executes.source§fn get_item_comments(
&self,
id: &GlobalId
) -> Option<&BTreeMap<Option<usize>, String>>
fn get_item_comments( &self, id: &GlobalId ) -> Option<&BTreeMap<Option<usize>, String>>
Returns the associated comments for the given
id
source§fn active_database_name(&self) -> Option<&str>
fn active_database_name(&self) -> Option<&str>
Returns the database to use if one is not explicitly specified.
source§fn resolve_item_or_type(
&self,
name: &PartialItemName
) -> Result<&dyn CatalogItem, CatalogError>
fn resolve_item_or_type( &self, name: &PartialItemName ) -> Result<&dyn CatalogItem, CatalogError>
Resolves
name
to a type or item, preferring the type if both exist.Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ConnCatalog<'a>
impl<'a> Send for ConnCatalog<'a>
impl<'a> Sync for ConnCatalog<'a>
impl<'a> Unpin for ConnCatalog<'a>
impl<'a> !UnwindSafe for ConnCatalog<'a>
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
Mutably borrows from an owned value. Read more
source§impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.
source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§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>
Wrap the input message
T
in a tonic::Request
Creates a shared type from an unshared type.
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
source§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,
Borrows
self
and passes that borrow into the pipe function. Read moresource§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,
Mutably borrows
self
and passes that borrow into the pipe function. Read moresource§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
source§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
source§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
Borrows
self
, then passes self.as_ref()
into the pipe function.source§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
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.source§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
Borrows
self
, then passes self.deref()
into the pipe function.source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.source§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
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.source§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
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.