pub enum MappingRuleParseError<'a> {
Empty,
MissingListenPort,
MissingUpstream,
MissingUpstreamPort,
InvalidProtocol(String),
InvalidListenPort(&'a str),
InvalidListenPortRange(&'a str),
InvalidUpstream(&'a str),
InvalidUpstreamPort(&'a str),
InvalidUpstreamPortRange(&'a str),
UnmatchedPortRange(RangeInclusive<u16>, RangeInclusive<u16>),
}Variants§
Empty
MissingListenPort
MissingUpstream
MissingUpstreamPort
InvalidProtocol(String)
InvalidListenPort(&'a str)
InvalidListenPortRange(&'a str)
InvalidUpstream(&'a str)
InvalidUpstreamPort(&'a str)
InvalidUpstreamPortRange(&'a str)
UnmatchedPortRange(RangeInclusive<u16>, RangeInclusive<u16>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for MappingRuleParseError<'a>
impl<'a> RefUnwindSafe for MappingRuleParseError<'a>
impl<'a> Send for MappingRuleParseError<'a>
impl<'a> Sync for MappingRuleParseError<'a>
impl<'a> Unpin for MappingRuleParseError<'a>
impl<'a> UnwindSafe for MappingRuleParseError<'a>
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