pub struct SsrClient { /* private fields */ }
Implementations§
Source§impl SsrClient
impl SsrClient
Sourcepub fn new(host: &'static str, port: u16) -> Self
pub fn new(host: &'static str, port: u16) -> Self
Generates a new custom SsrClient
struct. Unless you really need to change the ssr server
url, it is preferred to use SsrClient::Default
for generating a new SsrClient struct.
§Arguments
host
- The host of the server (normally,127.0.0.1
, since it should run locallyport
- The server port
Trait Implementations§
impl StructuralPartialEq for SsrClient
Auto Trait Implementations§
impl Freeze for SsrClient
impl RefUnwindSafe for SsrClient
impl Send for SsrClient
impl Sync for SsrClient
impl Unpin for SsrClient
impl UnwindSafe for SsrClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more