#[non_exhaustive]pub struct ConnectionLimits {
pub connection_limit: Option<String>,
pub rate_limit: Option<String>,
}Expand description
The connection-limit and rate-limit of a service such as finger or tftp-server.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.connection_limit: Option<String>§rate_limit: Option<String>Connection attempts per minute.
Trait Implementations§
Source§impl Clone for ConnectionLimits
impl Clone for ConnectionLimits
Source§impl Debug for ConnectionLimits
impl Debug for ConnectionLimits
Source§impl Default for ConnectionLimits
impl Default for ConnectionLimits
impl Eq for ConnectionLimits
Source§impl PartialEq for ConnectionLimits
impl PartialEq for ConnectionLimits
impl StructuralPartialEq for ConnectionLimits
Auto Trait Implementations§
impl Forget for ConnectionLimits
impl Freeze for ConnectionLimits
impl Move for ConnectionLimits
impl RefUnwindSafe for ConnectionLimits
impl Send for ConnectionLimitswhere
RawVecInner: Send,
impl Sync for ConnectionLimitswhere
RawVecInner: Sync,
impl Unpin for ConnectionLimits
impl UnsafeUnpin for ConnectionLimits
impl UnwindSafe for ConnectionLimitswhere
RawVecInner: UnwindSafe,
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