pub fn loop_ancestor(&self) -> Option<&Path> {
        match self.inner {
            ErrorInner::Loop { ref ancestor, .. } => Some(ancestor),
            _ => None,
        }
    }
/// Returns the path at which a cycle was detected.
///
/// If no cycle was detected, `None` is returned.
///
/// A cycle is detected when a directory entry is equivalent to one of
/// its ancestors.
///
/// To get the path to the child directory entry in the cycle, use the
/// `path` method.
Returns the path at which a cycle was detected.
If no cycle was detected, `None` is returned.

A cycle is detected when a directory entry is equivalent to one of
its ancestors.

To get the path to the child directory entry in the cycle, use the
`path` method.
Returns the path at which a cycle was detected . If no cycle was detected ` None ` is returned . A cycle is detected when a directory entry is equivalent to one of its ancestors . To get the path to the child directory entry in the cycle use the ` path ` method .
pub fn loop_ancestor(&self) -> Option<&Path> {
        match self.inner {
            ErrorInner::Loop { ref ancestor, .. } => Some(ancestor),
            _ => None,
        }
    }
pub fn loop_ancestor ( & self ) -> Option < & Path > { match self . inner { ErrorInner :: Loop { ref ancestor , .. } => Some ( ancestor ) , _ => None , } }
Returns the path at which a cycle was detected.
Returns the path at which a cycle was detected .
&self
&self