pub struct Cloud { /* private fields */ }Implementations§
Source§impl Cloud
impl Cloud
pub fn new(cloud_options: Option<CloudOptions>) -> Result<Cloud, ParseError>
pub async fn run_http( &mut self, server_options: Option<ServerOptions>, ) -> Result<(), ServerError>
pub fn start_http( &mut self, server_options: Option<ServerOptions>, ) -> Result<(), ServerError>
pub fn stop_http(&mut self, msg: &str) -> Result<(), ServerError>
pub fn status_http(&mut self) -> Result<ServerStatus, ServerError>
pub async fn run_udp( &mut self, server_options: Option<ServerOptions>, ) -> Result<(), ServerError>
pub fn start_udp( &mut self, server_options: Option<ServerOptions>, ) -> Result<(), ServerError>
pub fn stop_udp(&mut self, msg: &str) -> Result<(), ServerError>
pub fn status_udp(&mut self) -> Result<ServerStatus, ServerError>
pub fn store_items_len(&self) -> usize
pub fn store_items_capacity(&self) -> usize
pub fn store_resize_items(&self, size: usize) -> usize
pub fn store_conflicts_len(&self) -> usize
pub fn store_conflicts_capacity(&self) -> usize
pub fn store_resize_conflicts(&self, size: usize) -> usize
pub fn store_suggestions_len(&self) -> usize
pub fn store_suggestions_capacity(&self) -> usize
pub fn store_resize_suggestions(&self, size: usize) -> usize
pub fn store_freeze(&self) -> SizedQueueDrain<Conflict<u64, Vec<u8>>>
pub fn store_unfreeze(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cloud
impl !RefUnwindSafe for Cloud
impl Send for Cloud
impl Sync for Cloud
impl Unpin for Cloud
impl !UnwindSafe for Cloud
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