Struct mockable::DefaultEnv
source · pub struct DefaultEnv;
Trait Implementations§
source§impl Env for DefaultEnv
impl Env for DefaultEnv
source§fn non_zero_i8(&self, key: &str) -> Option<Result<NonZeroI8, ParseIntError>>
fn non_zero_i8(&self, key: &str) -> Option<Result<NonZeroI8, ParseIntError>>
source§fn non_zero_i16(&self, key: &str) -> Option<Result<NonZeroI16, ParseIntError>>
fn non_zero_i16(&self, key: &str) -> Option<Result<NonZeroI16, ParseIntError>>
source§fn non_zero_i32(&self, key: &str) -> Option<Result<NonZeroI32, ParseIntError>>
fn non_zero_i32(&self, key: &str) -> Option<Result<NonZeroI32, ParseIntError>>
source§fn non_zero_i64(&self, key: &str) -> Option<Result<NonZeroI64, ParseIntError>>
fn non_zero_i64(&self, key: &str) -> Option<Result<NonZeroI64, ParseIntError>>
source§fn non_zero_i128(&self, key: &str) -> Option<Result<NonZeroI128, ParseIntError>>
fn non_zero_i128(&self, key: &str) -> Option<Result<NonZeroI128, ParseIntError>>
source§fn non_zero_isize(
&self,
key: &str
) -> Option<Result<NonZeroIsize, ParseIntError>>
fn non_zero_isize( &self, key: &str ) -> Option<Result<NonZeroIsize, ParseIntError>>
source§fn non_zero_u8(&self, key: &str) -> Option<Result<NonZeroU8, ParseIntError>>
fn non_zero_u8(&self, key: &str) -> Option<Result<NonZeroU8, ParseIntError>>
source§fn non_zero_u16(&self, key: &str) -> Option<Result<NonZeroU16, ParseIntError>>
fn non_zero_u16(&self, key: &str) -> Option<Result<NonZeroU16, ParseIntError>>
source§fn non_zero_u32(&self, key: &str) -> Option<Result<NonZeroU32, ParseIntError>>
fn non_zero_u32(&self, key: &str) -> Option<Result<NonZeroU32, ParseIntError>>
source§fn non_zero_u64(&self, key: &str) -> Option<Result<NonZeroU64, ParseIntError>>
fn non_zero_u64(&self, key: &str) -> Option<Result<NonZeroU64, ParseIntError>>
source§fn non_zero_u128(&self, key: &str) -> Option<Result<NonZeroU128, ParseIntError>>
fn non_zero_u128(&self, key: &str) -> Option<Result<NonZeroU128, ParseIntError>>
source§fn non_zero_usize(
&self,
key: &str
) -> Option<Result<NonZeroUsize, ParseIntError>>
fn non_zero_usize( &self, key: &str ) -> Option<Result<NonZeroUsize, ParseIntError>>
source§fn socket_addr(&self, key: &str) -> Option<Result<SocketAddr, AddrParseError>>
fn socket_addr(&self, key: &str) -> Option<Result<SocketAddr, AddrParseError>>
source§fn socket_addr_v4(
&self,
key: &str
) -> Option<Result<SocketAddrV4, AddrParseError>>
fn socket_addr_v4( &self, key: &str ) -> Option<Result<SocketAddrV4, AddrParseError>>
source§fn socket_addr_v6(
&self,
key: &str
) -> Option<Result<SocketAddrV6, AddrParseError>>
fn socket_addr_v6( &self, key: &str ) -> Option<Result<SocketAddrV6, AddrParseError>>
Auto Trait Implementations§
impl Freeze for DefaultEnv
impl RefUnwindSafe for DefaultEnv
impl Send for DefaultEnv
impl Sync for DefaultEnv
impl Unpin for DefaultEnv
impl UnwindSafe for DefaultEnv
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