pub struct BambooServer { /* private fields */ }Expand description
Main Bamboo server instance
Implementations§
Source§impl BambooServer
impl BambooServer
Sourcepub fn new(config: BambooConfig) -> Self
pub fn new(config: BambooConfig) -> Self
Create a new Bamboo server with configuration
Sourcepub fn server_addr(&self) -> String
pub fn server_addr(&self) -> String
Get the server address
Auto Trait Implementations§
impl Freeze for BambooServer
impl RefUnwindSafe for BambooServer
impl Send for BambooServer
impl Sync for BambooServer
impl Unpin for BambooServer
impl UnsafeUnpin for BambooServer
impl UnwindSafe for BambooServer
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