pub struct FdLimitError {
pub fd_count: usize,
pub max_per_frame: usize,
}Expand description
Error returned by split_fds_into_frames when more=false and the fd
count exceeds MAX_FDS_PER_FRAME.
The caller must map this to their interface error and instruct the client to
retry with more=true.
Fields§
§fd_count: usizeTotal number of fds that would be sent.
max_per_frame: usizeThe per-frame cap that was exceeded.
Trait Implementations§
Source§impl Debug for FdLimitError
impl Debug for FdLimitError
Source§impl Display for FdLimitError
impl Display for FdLimitError
Source§impl Error for FdLimitError
impl Error for FdLimitError
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()
Auto Trait Implementations§
impl Freeze for FdLimitError
impl RefUnwindSafe for FdLimitError
impl Send for FdLimitError
impl Sync for FdLimitError
impl Unpin for FdLimitError
impl UnsafeUnpin for FdLimitError
impl UnwindSafe for FdLimitError
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