pub struct RtCurrent { /* private fields */ }Expand description
RTCORBA::Current (§5.5): holds the CORBA priority of the current context.
Setting it changes (in a real ORB) the native thread priority via the
active PriorityMapping.
Implementations§
Source§impl RtCurrent
impl RtCurrent
Sourcepub fn get_priority(&self) -> Priority
pub fn get_priority(&self) -> Priority
get_priority (§5.5) — the current CORBA priority.
Sourcepub fn set_priority(&mut self, priority: Priority)
pub fn set_priority(&mut self, priority: Priority)
set_priority (§5.5) — sets the CORBA priority of the context.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtCurrent
impl RefUnwindSafe for RtCurrent
impl Send for RtCurrent
impl Sync for RtCurrent
impl Unpin for RtCurrent
impl UnsafeUnpin for RtCurrent
impl UnwindSafe for RtCurrent
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