pub enum NetworkMode {
Native,
Injected,
}Expand description
Networking mode for the handler.
Variants§
Native
Use built-in HTTP and WebSocket libraries (default).
Injected
Use provided fetch and WebSocket factory functions.
Trait Implementations§
Source§impl Clone for NetworkMode
impl Clone for NetworkMode
Source§fn clone(&self) -> NetworkMode
fn clone(&self) -> NetworkMode
Returns a duplicate 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 NetworkMode
impl Debug for NetworkMode
Source§impl Default for NetworkMode
impl Default for NetworkMode
Source§fn default() -> NetworkMode
fn default() -> NetworkMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for NetworkMode
impl PartialEq for NetworkMode
impl Copy for NetworkMode
impl Eq for NetworkMode
impl StructuralPartialEq for NetworkMode
Auto Trait Implementations§
impl Freeze for NetworkMode
impl RefUnwindSafe for NetworkMode
impl Send for NetworkMode
impl Sync for NetworkMode
impl Unpin for NetworkMode
impl UnwindSafe for NetworkMode
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