pub struct DoCanServer<D, C, F> { /* private fields */ }Implementations§
Source§impl<D, C, F> DoCanServer<D, C, F>
impl<D, C, F> DoCanServer<D, C, F>
Trait Implementations§
Source§impl<D: Clone, C: Clone, F: Clone> Clone for DoCanServer<D, C, F>
impl<D: Clone, C: Clone, F: Clone> Clone for DoCanServer<D, C, F>
Source§fn clone(&self) -> DoCanServer<D, C, F>
fn clone(&self) -> DoCanServer<D, C, F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<D, C, F> Server for DoCanServer<D, C, F>
impl<D, C, F> Server for DoCanServer<D, C, F>
fn update_address<'life0, 'async_trait>(
&'life0 self,
address: Address,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_security_algo<'life0, 'async_trait>(
&'life0 self,
algo: SecurityAlgo,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn service_forever<'life0, 'async_trait>(
&'life0 mut self,
interval_us: u64,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn service_stop<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<D, C, F> Freeze for DoCanServer<D, C, F>
impl<D, C, F> !RefUnwindSafe for DoCanServer<D, C, F>
impl<D, C, F> Send for DoCanServer<D, C, F>
impl<D, C, F> Sync for DoCanServer<D, C, F>
impl<D, C, F> Unpin for DoCanServer<D, C, F>
impl<D, C, F> !UnwindSafe for DoCanServer<D, C, F>
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