Enum bonsaidb::server::Transport [−][src]
pub enum Transport {
Bonsai,
WebSocket,
}
Expand description
The ways a client can be connected to the server.
Variants
Bonsai
A connection over BonsaiDb’s QUIC-based protocol.
WebSocket
A connection over WebSockets.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Transport
impl UnwindSafe for Transport
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more