pub struct ObjectLimits {Show 17 fields
pub max_objects: usize,
pub max_mailbox_per_object: usize,
pub max_resolver_entries: usize,
pub max_local_leases: usize,
pub max_roots: usize,
pub max_placement_tickets: usize,
pub max_transfers: usize,
pub max_migrations: usize,
pub max_prepared_migrations: usize,
pub max_forwarders: usize,
pub max_redirects: usize,
pub max_snapshot_bytes: usize,
pub max_snapshot_segments: usize,
pub forwarding_ttl: Duration,
pub lease_renew_interval: Duration,
pub lease_ttl: Duration,
pub lease_grace: Duration,
}Fields§
§max_objects: usize§max_mailbox_per_object: usize§max_resolver_entries: usize§max_local_leases: usize§max_roots: usize§max_placement_tickets: usize§max_transfers: usize§max_migrations: usize§max_prepared_migrations: usize§max_forwarders: usize§max_redirects: usize§max_snapshot_bytes: usize§max_snapshot_segments: usize§forwarding_ttl: Duration§lease_renew_interval: Duration§lease_ttl: Duration§lease_grace: DurationImplementations§
Source§impl ObjectLimits
impl ObjectLimits
pub fn validate(self) -> Result<Self, RuntimeError>
Trait Implementations§
Source§impl Clone for ObjectLimits
impl Clone for ObjectLimits
Source§fn clone(&self) -> ObjectLimits
fn clone(&self) -> ObjectLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectLimits
Source§impl Debug for ObjectLimits
impl Debug for ObjectLimits
Source§impl Default for ObjectLimits
impl Default for ObjectLimits
impl Eq for ObjectLimits
Source§impl PartialEq for ObjectLimits
impl PartialEq for ObjectLimits
Source§fn eq(&self, other: &ObjectLimits) -> bool
fn eq(&self, other: &ObjectLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ObjectLimits
Auto Trait Implementations§
impl Freeze for ObjectLimits
impl RefUnwindSafe for ObjectLimits
impl Send for ObjectLimits
impl Sync for ObjectLimits
impl Unpin for ObjectLimits
impl UnsafeUnpin for ObjectLimits
impl UnwindSafe for ObjectLimits
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<Src> TryFrom<Src> for Src
impl<Src> TryFrom<Src> for Src
§impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
§impl<Src> ValueFrom<Src> for Src
impl<Src> ValueFrom<Src> for Src
§fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
Convert the given value into an exactly equivalent representation.