#[non_exhaustive]pub struct RejectedSection {
pub pid: Pid,
pub reason: SectionRejection,
}Expand description
A section SiMux::upsert could not schedule, kept so the caller can
see what was refused rather than having it dropped without a word.
The section itself is not retained: the bytes are the caller’s, and a rejection names only where they were registered and why they cannot be emitted.
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.pid: PidThe PID the section was registered on.
reason: SectionRejectionWhy it was rejected.
Trait Implementations§
Source§impl Clone for RejectedSection
impl Clone for RejectedSection
Source§impl Debug for RejectedSection
impl Debug for RejectedSection
impl Eq for RejectedSection
Source§impl PartialEq for RejectedSection
impl PartialEq for RejectedSection
Source§impl Serialize for RejectedSection
Available on crate feature serde only.
impl Serialize for RejectedSection
Available on crate feature
serde only.impl StructuralPartialEq for RejectedSection
Auto Trait Implementations§
impl Forget for RejectedSection
impl Freeze for RejectedSection
impl Move for RejectedSection
impl RefUnwindSafe for RejectedSection
impl Send for RejectedSection
impl Sync for RejectedSection
impl Unpin for RejectedSection
impl UnsafeUnpin for RejectedSection
impl UnwindSafe for RejectedSection
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