pub struct PoaCurrent;Expand description
PortableServer::Current: the POA and ObjectId of the request the
calling thread is running. Outside a request, every method fails with
PoaError::NoContext.
Implementations§
Source§impl PoaCurrent
impl PoaCurrent
Sourcepub fn get_object_id() -> Result<ObjectId, PoaError>
pub fn get_object_id() -> Result<ObjectId, PoaError>
get_object_id: the ObjectId of the target object.
Sourcepub fn get_reference() -> Result<ObjectRef, PoaError>
pub fn get_reference() -> Result<ObjectRef, PoaError>
get_reference: a reference to the target object.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoaCurrent
impl RefUnwindSafe for PoaCurrent
impl Send for PoaCurrent
impl Sync for PoaCurrent
impl Unpin for PoaCurrent
impl UnsafeUnpin for PoaCurrent
impl UnwindSafe for PoaCurrent
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