pub enum LandLineCommand {
Request {
ip_address: Ipv4Addr,
port: u16,
},
Approve {
ip_address: Ipv4Addr,
port: u16,
},
Reject,
End,
}Variants§
Trait Implementations§
Source§impl Clone for LandLineCommand
impl Clone for LandLineCommand
Source§fn clone(&self) -> LandLineCommand
fn clone(&self) -> LandLineCommand
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 LandLineCommand
impl Debug for LandLineCommand
Source§impl Ord for LandLineCommand
impl Ord for LandLineCommand
Source§fn cmp(&self, other: &LandLineCommand) -> Ordering
fn cmp(&self, other: &LandLineCommand) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LandLineCommand
impl PartialEq for LandLineCommand
Source§impl PartialOrd for LandLineCommand
impl PartialOrd for LandLineCommand
impl Copy for LandLineCommand
impl Eq for LandLineCommand
impl StructuralPartialEq for LandLineCommand
Auto Trait Implementations§
impl Freeze for LandLineCommand
impl RefUnwindSafe for LandLineCommand
impl Send for LandLineCommand
impl Sync for LandLineCommand
impl Unpin for LandLineCommand
impl UnwindSafe for LandLineCommand
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