Union drone_core::proc_loop::In [−][src]
pub union In<Cmd, ReqRes> {
// some fields omitted
}Sess::Fiber input.
See also Out.
Implementations
impl<Cmd, ReqRes> In<Cmd, ReqRes>[src]
pub fn from_cmd(cmd: Cmd) -> Self[src]
Creates a new command input.
pub fn from_req_res(req_res: ReqRes) -> Self[src]
Creates a new request result input.
pub unsafe fn into_cmd(self) -> Cmd[src]
Interprets the input as a command.
Safety
Whether the input is really a command object is unchecked.
pub unsafe fn into_req_res(self) -> ReqRes[src]
Interprets the input as a request result.
Safety
Whether the input is really a request result object is unchecked.
Auto Trait Implementations
impl<Cmd, ReqRes> Send for In<Cmd, ReqRes> where
Cmd: Send,
ReqRes: Send,
Cmd: Send,
ReqRes: Send,
impl<Cmd, ReqRes> Sync for In<Cmd, ReqRes> where
Cmd: Sync,
ReqRes: Sync,
Cmd: Sync,
ReqRes: Sync,
impl<Cmd, ReqRes> Unpin for In<Cmd, ReqRes> where
Cmd: Unpin,
ReqRes: Unpin,
Cmd: Unpin,
ReqRes: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,