Enum trussed::pipe::TrussedInterchange
source · [−]Variants
Request(Request)
Response(Result<Reply, Error>)
None
Trait Implementations
sourceimpl Clone for TrussedInterchange
impl Clone for TrussedInterchange
sourcefn clone(&self) -> TrussedInterchange
fn clone(&self) -> TrussedInterchange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TrussedInterchange
impl Debug for TrussedInterchange
sourceimpl Interchange for TrussedInterchange
impl Interchange for TrussedInterchange
const CLIENT_CAPACITY: usize
type REQUEST = Request
type RESPONSE = Result<Reply, Error>
sourceunsafe fn reset_claims()
unsafe fn reset_claims()
Method purely for testing - do not use in production Read more
sourcefn claim() -> Option<(Requester<Self>, Responder<Self>)>
fn claim() -> Option<(Requester<Self>, Responder<Self>)>
This is the constructor for a (Requester, Responder)
pair. Read more
sourcefn unclaimed_clients() -> usize
fn unclaimed_clients() -> usize
Method for debugging: how many allocated clients have not been claimed.
sourceimpl PartialEq<TrussedInterchange> for TrussedInterchange
impl PartialEq<TrussedInterchange> for TrussedInterchange
sourcefn eq(&self, other: &TrussedInterchange) -> bool
fn eq(&self, other: &TrussedInterchange) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TrussedInterchange) -> bool
fn ne(&self, other: &TrussedInterchange) -> bool
This method tests for !=
.
impl StructuralPartialEq for TrussedInterchange
Auto Trait Implementations
impl RefUnwindSafe for TrussedInterchange
impl Send for TrussedInterchange
impl Sync for TrussedInterchange
impl Unpin for TrussedInterchange
impl UnwindSafe for TrussedInterchange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more