pub enum ConnectionType {
HttpPolling,
HttpStreaming,
StreamSensing,
WsPolling,
WsStreaming,
}
Expand description
Represents the type of connection established with the Lightstreamer Server.
This enum indicates the specific transport protocol and connection mode being used for communication with the server.
Variants§
HttpPolling
Connection established using HTTP polling transport.
HttpStreaming
Connection established using HTTP streaming transport.
StreamSensing
Connection in stream-sensing mode, where the client is determining the best transport to use.
WsPolling
Connection established using WebSocket polling transport.
WsStreaming
Connection established using WebSocket streaming transport.
Auto Trait Implementations§
impl Freeze for ConnectionType
impl RefUnwindSafe for ConnectionType
impl Send for ConnectionType
impl Sync for ConnectionType
impl Unpin for ConnectionType
impl UnwindSafe for ConnectionType
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