pub struct Request<'a> { /* private fields */ }Expand description
A request being built: the operation, its arguments, and a timeout.
Implementations§
Source§impl<'a> Request<'a>
impl<'a> Request<'a>
Sourcepub fn args<F>(self, f: F) -> Request<'a>
pub fn args<F>(self, f: F) -> Request<'a>
Sets the function that writes the in and inout arguments. It may
run more than once, when the request is forwarded or retried.
Sourcepub fn timeout(self, timeout: Option<Duration>) -> Request<'a>
pub fn timeout(self, timeout: Option<Duration>) -> Request<'a>
Sets how long this request waits for a reply (None: no limit),
overriding the timeouts of the thread, the reference and the ORB
(see Orb::set_call_timeout).
Sourcepub fn send_oneway(self) -> Result<(), SystemException>
pub fn send_oneway(self) -> Result<(), SystemException>
Sends the request as a oneway call: returns once the message is written, with no reply.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Request<'a>
impl<'a> !Send for Request<'a>
impl<'a> !Sync for Request<'a>
impl<'a> !UnwindSafe for Request<'a>
impl<'a> Forget for Request<'a>
impl<'a> Freeze for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnsafeUnpin for Request<'a>
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