pub enum TransferProtocol {
Http,
Https,
Ws,
Wss,
}
Expand description
§TransferProtocol
A list of protocol
Variants§
Trait Implementations§
Source§impl Clone for TransferProtocol
impl Clone for TransferProtocol
Source§fn clone(&self) -> TransferProtocol
fn clone(&self) -> TransferProtocol
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransferProtocol
impl Debug for TransferProtocol
Source§impl Default for TransferProtocol
impl Default for TransferProtocol
Source§fn default() -> TransferProtocol
fn default() -> TransferProtocol
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransferProtocol
impl<'de> Deserialize<'de> for TransferProtocol
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransferProtocol
impl PartialEq for TransferProtocol
Source§impl Serialize for TransferProtocol
impl Serialize for TransferProtocol
impl StructuralPartialEq for TransferProtocol
Auto Trait Implementations§
impl Freeze for TransferProtocol
impl RefUnwindSafe for TransferProtocol
impl Send for TransferProtocol
impl Sync for TransferProtocol
impl Unpin for TransferProtocol
impl UnwindSafe for TransferProtocol
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