pub enum TransportProtocol {
Http,
WebSocket,
}
Expand description
The transport protocol used to send or receive a call or request.
Variants§
Trait Implementations§
source§impl Clone for TransportProtocol
impl Clone for TransportProtocol
source§fn clone(&self) -> TransportProtocol
fn clone(&self) -> TransportProtocol
Returns a copy 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 Debug for TransportProtocol
impl Debug for TransportProtocol
source§impl Display for TransportProtocol
impl Display for TransportProtocol
impl Copy for TransportProtocol
Auto Trait Implementations§
impl RefUnwindSafe for TransportProtocol
impl Send for TransportProtocol
impl Sync for TransportProtocol
impl Unpin for TransportProtocol
impl UnwindSafe for TransportProtocol
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