pub struct PointSpec {
pub description: String,
pub deadline: Option<Duration>,
}Expand description
A point’s declaration: its description and limits, for introspection.
Fields§
§description: StringWhat the point builds, for people and agents reading
Bus::points.
deadline: Option<Duration>The deadline of the point’s listeners that set none themselves;
None takes the kernel’s default.
Implementations§
Trait Implementations§
impl Eq for PointSpec
impl StructuralPartialEq for PointSpec
Auto Trait Implementations§
impl Forget for PointSpec
impl Freeze for PointSpec
impl Move for PointSpec
impl RefUnwindSafe for PointSpec
impl Send for PointSpec
impl Sync for PointSpec
impl Unpin for PointSpec
impl UnsafeUnpin for PointSpec
impl UnwindSafe for PointSpec
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