pub enum NetworkRuleProtocol {
Tcp,
Udp,
}Expand description
Network protocol
Variants§
Trait Implementations§
Source§impl Clone for NetworkRuleProtocol
impl Clone for NetworkRuleProtocol
Source§fn clone(&self) -> NetworkRuleProtocol
fn clone(&self) -> NetworkRuleProtocol
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 NetworkRuleProtocol
impl Debug for NetworkRuleProtocol
Source§impl PartialEq for NetworkRuleProtocol
impl PartialEq for NetworkRuleProtocol
impl Eq for NetworkRuleProtocol
impl StructuralPartialEq for NetworkRuleProtocol
Auto Trait Implementations§
impl Freeze for NetworkRuleProtocol
impl RefUnwindSafe for NetworkRuleProtocol
impl Send for NetworkRuleProtocol
impl Sync for NetworkRuleProtocol
impl Unpin for NetworkRuleProtocol
impl UnsafeUnpin for NetworkRuleProtocol
impl UnwindSafe for NetworkRuleProtocol
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