pub enum ConnectionSource {
None,
Port(u16),
}
Expand description
Choose how the proposer will listen incoming connections
Variants§
Trait Implementations§
Source§impl Clone for ConnectionSource
impl Clone for ConnectionSource
Source§fn clone(&self) -> ConnectionSource
fn clone(&self) -> ConnectionSource
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 ConnectionSource
impl Debug for ConnectionSource
Source§impl Display for ConnectionSource
impl Display for ConnectionSource
impl Copy for ConnectionSource
Auto Trait Implementations§
impl Freeze for ConnectionSource
impl RefUnwindSafe for ConnectionSource
impl Send for ConnectionSource
impl Sync for ConnectionSource
impl Unpin for ConnectionSource
impl UnwindSafe for ConnectionSource
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