pub struct ExtCite<M: 'static>(/* private fields */);Expand description
The same handle in a wire position that names a reference the receiver has
already granted, produced by ExtGift::cite.
Which of the two a protocol field holds is fixed by the protocol, so it is
spelled in the field’s type and checked when the field is decoded. See
dolang_rpc::session for what the distinction buys.
Trait Implementations§
Source§impl<'de, M: 'static> Deserialize<'de> for ExtCite<M>
impl<'de, M: 'static> Deserialize<'de> for ExtCite<M>
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<M> !RefUnwindSafe for ExtCite<M>
impl<M> !UnwindSafe for ExtCite<M>
impl<M> Freeze for ExtCite<M>where
CiteRepr<M>: Freeze,
impl<M> Send for ExtCite<M>where
CiteRepr<M>: Send,
impl<M> Sync for ExtCite<M>where
CiteRepr<M>: Sync,
impl<M> Unpin for ExtCite<M>where
CiteRepr<M>: Unpin,
impl<M> UnsafeUnpin for ExtCite<M>where
CiteRepr<M>: UnsafeUnpin,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more