Enum deno_runtime::ops::process::StdioOrRid
source · pub enum StdioOrRid {
Stdio(Stdio),
Rid(ResourceId),
}
Variants§
Stdio(Stdio)
Rid(ResourceId)
Implementations§
Trait Implementations§
source§impl Clone for StdioOrRid
impl Clone for StdioOrRid
source§fn clone(&self) -> StdioOrRid
fn clone(&self) -> StdioOrRid
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for StdioOrRid
impl<'de> Deserialize<'de> for StdioOrRid
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for StdioOrRid
impl PartialEq for StdioOrRid
source§fn eq(&self, other: &StdioOrRid) -> bool
fn eq(&self, other: &StdioOrRid) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StdioOrRid
impl Eq for StdioOrRid
impl StructuralEq for StdioOrRid
impl StructuralPartialEq for StdioOrRid
Auto Trait Implementations§
impl Send for StdioOrRid
impl Sync for StdioOrRid
impl RefUnwindSafe for StdioOrRid
impl Unpin for StdioOrRid
impl UnwindSafe for StdioOrRid
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.