pub struct RootOperand {
pub parent: PathBuf,
pub name: OsString,
pub display: PathBuf,
}Expand description
A root operand decomposed for the fd-relative walk entry point.
Fields§
§parent: PathBufThe operand’s parent directory — opened TRUSTED (follows symlinks) via
crate::safedir::Dir::open_parent_dir.
name: OsStringThe operand’s final component — classified O_NOFOLLOW via child(name) below the parent.
display: PathBufThe operand path for diagnostics / real_path reconstruction: the operand as typed (with
trailing slashes stripped) for a normal operand, or the canonicalized path for a ./..
operand that had to be resolved.
Auto Trait Implementations§
impl Freeze for RootOperand
impl RefUnwindSafe for RootOperand
impl Send for RootOperand
impl Sync for RootOperand
impl Unpin for RootOperand
impl UnsafeUnpin for RootOperand
impl UnwindSafe for RootOperand
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<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