pub enum IpFrom {
Client,
XForwardedFor,
XRealIp,
}Variants§
Trait Implementations§
Source§impl From<IpFrom> for IpExtractor
impl From<IpFrom> for IpExtractor
impl Copy for IpFrom
Auto Trait Implementations§
impl Freeze for IpFrom
impl RefUnwindSafe for IpFrom
impl Send for IpFrom
impl Sync for IpFrom
impl Unpin for IpFrom
impl UnwindSafe for IpFrom
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