[−][src]Union drone_core::proc_loop::In
Sess::Fiber
input.
See also Out
.
Methods
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> Unpin for In<Cmd, ReqRes> where
Cmd: Unpin,
ReqRes: Unpin,
Cmd: Unpin,
ReqRes: Unpin,
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,
Blanket Implementations
impl<T> From<T> for T
[src]
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.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,