Small changes for merging
This commit is contained in:
parent
9a80f68787
commit
a3969e8cb6
|
@ -53,4 +53,4 @@ mod instance_policies_schema_test {
|
|||
|
||||
let _schema = test_instance.instance_policies_schema().await.unwrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@ pub struct Gateway {
|
|||
pub websocket_tx: Arc<Mutex<SplitSink<WebSocketStream<MaybeTlsStream<TcpStream>>, tokio_tungstenite::tungstenite::Message>>>
|
||||
}
|
||||
|
||||
impl<'a> Gateway {
|
||||
impl Gateway {
|
||||
pub async fn new(
|
||||
websocket_url: String,
|
||||
) -> Result<GatewayHandle, tokio_tungstenite::tungstenite::Error> {
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
use crate::api::limits::Limits;
|
||||
use crate::api::types::{InstancePolicies};
|
||||
use crate::errors::{FieldFormatError, InstanceServerError};
|
||||
use crate::gateway::{GatewayHandle, Gateway};
|
||||
use crate::limit::LimitedRequester;
|
||||
use crate::URLBundle;
|
||||
|
||||
|
||||
use std::fmt;
|
||||
#[derive(Debug)]
|
||||
|
||||
#[derive(Debug)]
|
||||
/**
|
||||
The [`Instance`] what you will be using to perform all sorts of actions on the Spacebar server.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue