Struct iotscape::IoTScapeService
source · pub struct IoTScapeService<SocketType: SocketTrait = UdpSocket> {
pub definition: ServiceDefinition,
pub name: String,
pub next_msg_id: u64,
pub rx_queue: VecDeque<Request>,
pub tx_queue: VecDeque<Response>,
/* private fields */
}Fields§
§definition: ServiceDefinition§name: String§next_msg_id: u64§rx_queue: VecDeque<Request>§tx_queue: VecDeque<Response>Implementations§
source§impl<SocketType: SocketTrait> IoTScapeService<SocketType>
impl<SocketType: SocketTrait> IoTScapeService<SocketType>
pub fn new( name: &str, definition: ServiceDefinition, server: SocketAddr ) -> Self
Auto Trait Implementations§
impl<SocketType> RefUnwindSafe for IoTScapeService<SocketType>where
SocketType: RefUnwindSafe,
impl<SocketType> Send for IoTScapeService<SocketType>where
SocketType: Send,
impl<SocketType> Sync for IoTScapeService<SocketType>where
SocketType: Sync,
impl<SocketType> Unpin for IoTScapeService<SocketType>where
SocketType: Unpin,
impl<SocketType> UnwindSafe for IoTScapeService<SocketType>where
SocketType: UnwindSafe,
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