pub struct EndpointError {
pub path: String,
pub len: usize,
pub limit: usize,
}Expand description
The endpoint for a service cannot be named within the OS socket path limit, even at the short fallback location. Names the offending path, its length and the limit.
Fields§
§path: String§len: usize§limit: usizeTrait Implementations§
Source§impl Clone for EndpointError
impl Clone for EndpointError
Source§impl Debug for EndpointError
impl Debug for EndpointError
Source§impl Display for EndpointError
impl Display for EndpointError
impl Eq for EndpointError
Source§impl Error for EndpointError
impl Error for EndpointError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for EndpointError
impl PartialEq for EndpointError
impl StructuralPartialEq for EndpointError
Auto Trait Implementations§
impl Freeze for EndpointError
impl RefUnwindSafe for EndpointError
impl Send for EndpointError
impl Sync for EndpointError
impl Unpin for EndpointError
impl UnsafeUnpin for EndpointError
impl UnwindSafe for EndpointError
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