pub fn path(&self) -> Option<&Path> {
        match self {
            Self::Socket { path, .. } => Some(path.as_path()),
            _ => None,
        }
    }
/// Represents the path associated with the session, if it has one
Represents the path associated with the session, if it has one
Represents the path associated with the session if it has one
pub fn path(&self) -> Option<&Path> {
        match self {
            Self::Socket { path, .. } => Some(path.as_path()),
            _ => None,
        }
    }
pub fn path ( & self ) -> Option < & Path > { match self { Self :: Socket { path , .. } => Some ( path . as_path ( ) ) , _ => None , } }
Represents the path associated with the session, if it has one
Represents the path associated with the session if it has one
&self