pub fn path(&self) -> Option<&str> {
        match self {
            &Service::RTSP(_, _, ref path)            => Some(path),
            &Service::UnsupportedRTSP(_, _, ref path) => Some(path),
            &Service::MJPEG(_, _, ref path)           => Some(path),
            _ => None
        }
    }
/// Get service path (valid only for certain types of services),
Get service path (valid only for certain types of services).
Get service path ( valid only for certain types of services ) .
pub fn path(&self) -> Option<&str> {
        match self {
            &Service::RTSP(_, _, ref path)            => Some(path),
            &Service::UnsupportedRTSP(_, _, ref path) => Some(path),
            &Service::MJPEG(_, _, ref path)           => Some(path),
            _ => None
        }
    }
pub fn path ( & self ) -> Option < & str > { match self { & Service :: RTSP ( _ , _ , ref path ) => Some ( path ) , & Service :: UnsupportedRTSP ( _ , _ , ref path ) => Some ( path ) , & Service :: MJPEG ( _ , _ , ref path ) => Some ( path ) , _ => None } }
Get service path (valid only for certain types of services),
Get service path ( valid only for certain types of services )
&self
&self