pub fn len(&self) -> usize {
        let path_bytes = match self.path() {
            Some(path) => path.as_bytes(),
            None       => &[] as &[u8]
        };

        mem::size_of::<ServiceHeader>() + path_bytes.len() + 1
    }
/// Get size of this Service Table item in bytes.
Get size of this Service Table item in bytes.
Get size of this Service Table item in bytes .
pub fn len(&self) -> usize {
        let path_bytes = match self.path() {
            Some(path) => path.as_bytes(),
            None       => &[] as &[u8]
        };
        mem::size_of::<ServiceHeader>() + path_bytes.len() + 1
    }
pub fn len ( & self ) -> usize { let path_bytes = match self . path ( ) { Some ( path ) => path . as_bytes ( ) , None => & [ ] as & [ u8 ] } ; mem :: size_of :: < ServiceHeader > ( ) + path_bytes . len ( ) + 1 }
Get size of this Service Table item in bytes.
Get size of this Service Table item in bytes .
&self
&self