// TODO: remove on implementation #![allow(unused_imports)] #![allow(unused_variables)] #![allow(dead_code)] use crate::model::*; use crate::protocol::*; use std::sync::Arc; #[derive(Clone)] pub struct ServerState { // ... } impl ProtocolHandler for ServerState { fn query(&mut self, query: &[String]) -> ProtocolResult> { unimplemented!() } fn get_texture_by_id(&mut self, id: String) -> ProtocolResult> { unimplemented!() } fn get_texture_by_name(&mut self, id: String) -> ProtocolResult> { unimplemented!() } fn get_texture_file(&mut self, hash: Sha256) -> ProtocolResult>> { unimplemented!() } fn get_texture_preview(&mut self, hash: Sha256) -> ProtocolResult>> { unimplemented!() } fn replace_texture( &mut self, delete: Option, insert: Option, insert_texture_data: Option>, ) -> ProtocolResult { unimplemented!() } }