/// Sends the tail filters to the WebSocket.
Sends the tail filters to the WebSocket.
Sends the tail filters to the WebSocket .
pub async fn update(&mut self) -> Result<()> {
        match self.options.filters.is_empty() {
            false => match serde_json::to_string(&self.options) {
                Ok(options) => self.write(options).await,
                Err(err) => anyhow::bail!("Failed to deserialize options: {}", err),
            },
            true => Ok(()),
        }
    }
pub async fn update ( & mut self ) -> Result < ( ) > { match self . options . filters . is_empty ( ) { false => match serde_json :: to_string ( & self . options ) { Ok ( options ) => self . write ( options ) . await , Err ( err ) => anyhow :: bail ! ( " " err ) , } , true => Ok ( ( ) ) , } }
Sends the tail filters to the WebSocket.
Sends the tail filters to the WebSocket .
&mut self