pub struct EndpointNameLimit {
pub max_bytes: usize,
pub label: &'static str,
}Expand description
The selected host’s limit on a local IPC endpoint name.
Unix transports are bounded by the sun_path field of sockaddr_un;
Windows named pipes are bounded by MAX_PATH unless the long-path
prefix is in use. Callers use this to report a budget without naming
which host they are on.
Fields§
§max_bytes: usizeLargest endpoint name this host accepts, in bytes.
label: &'static strOperator-facing name of the limit, e.g. "macOS sun_path".
Trait Implementations§
Source§impl Clone for EndpointNameLimit
impl Clone for EndpointNameLimit
Source§fn clone(&self) -> EndpointNameLimit
fn clone(&self) -> EndpointNameLimit
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 EndpointNameLimit
Source§impl Debug for EndpointNameLimit
impl Debug for EndpointNameLimit
impl Eq for EndpointNameLimit
Source§impl PartialEq for EndpointNameLimit
impl PartialEq for EndpointNameLimit
impl StructuralPartialEq for EndpointNameLimit
Auto Trait Implementations§
impl Freeze for EndpointNameLimit
impl RefUnwindSafe for EndpointNameLimit
impl Send for EndpointNameLimit
impl Sync for EndpointNameLimit
impl Unpin for EndpointNameLimit
impl UnsafeUnpin for EndpointNameLimit
impl UnwindSafe for EndpointNameLimit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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