pub trait AsTarget<F> {
// Required method
fn as_target(&self) -> Target<'_, F>;
}Expand description
Borrow a target for metadata queries, attribute updates or filesystem statistics.
Paths can be passed directly; use Target for handles or mixed vectors.
Conversion performs no I/O. Clients convert each operand once at preflight
and retain that target for routing, execution, and error context.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".