pub struct GcRootRejection {
pub path: String,
pub source: GcRootSource,
pub reason: String,
}Expand description
A root that failed validation. Rejected roots are never scanned — the path is embedded into a generated remote shell command, so anything that could escape its double-quoted context, traverse upward, or name the filesystem root is refused outright rather than sanitized.
Fields§
§path: StringThe offending value, verbatim.
source: GcRootSourceWhere it came from.
reason: StringHuman-readable reason.
Trait Implementations§
Source§impl Clone for GcRootRejection
impl Clone for GcRootRejection
Source§impl Debug for GcRootRejection
impl Debug for GcRootRejection
Source§impl Display for GcRootRejection
impl Display for GcRootRejection
impl Eq for GcRootRejection
Source§impl PartialEq for GcRootRejection
impl PartialEq for GcRootRejection
impl StructuralPartialEq for GcRootRejection
Auto Trait Implementations§
impl Freeze for GcRootRejection
impl RefUnwindSafe for GcRootRejection
impl Send for GcRootRejection
impl Sync for GcRootRejection
impl Unpin for GcRootRejection
impl UnsafeUnpin for GcRootRejection
impl UnwindSafe for GcRootRejection
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.