pub fn remove_server<N>(&mut self, name: N) -> Result<&mut Self>
        where N: AsRef<str>,
    {
        match self.servers.remove(name.as_ref()) {
            Some(_) => Ok(self),
            None => bail!(ErrorKind::NoSuchServer(name.as_ref().to_string())),
        }
    }
/// Remove a server from the bus.
Remove a server from the bus.
Remove a server from the bus .
pub fn remove_server<N>(&mut self, name: N) -> Result<&mut Self>
        where N: AsRef<str>,
    {
        match self.servers.remove(name.as_ref()) {
            Some(_) => Ok(self),
            None => bail!(ErrorKind::NoSuchServer(name.as_ref().to_string())),
        }
    }
pub fn remove_server < N > ( & mut self , name : N ) -> Result < & mut Self > where N : AsRef < str > , { match self . servers . remove ( name . as_ref ( ) ) { Some ( _ ) => Ok ( self ) , None => bail ! ( ErrorKind NoSuchServer ( name as_ref ( ) to_string ( ) ) ) , } }
Remove a server from the bus.
Remove a server from the bus .
&mut self
name
N