Struct brb::packet::Packet [−][src]
Represents a logical message packet with a BRB specific payload.
Fields
source: A
source actor
dest: A
destination actor
payload: Payload<A, S, Op>
payload data
sig: S
signature of payload data by source actor
Trait Implementations
impl<A: Clone + Actor<S>, S: Clone + Sig, Op: Clone> Clone for Packet<A, S, Op>
[src]
impl<A: Debug + Actor<S>, S: Debug + Sig, Op: Debug> Debug for Packet<A, S, Op>
[src]
impl<'de, A: Actor<S>, S: Sig, Op> Deserialize<'de> for Packet<A, S, Op> where
A: Deserialize<'de>,
S: Deserialize<'de>,
Op: Deserialize<'de>,
[src]
A: Deserialize<'de>,
S: Deserialize<'de>,
Op: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<A: Eq + Actor<S>, S: Eq + Sig, Op: Eq> Eq for Packet<A, S, Op>
[src]
impl<A: PartialEq + Actor<S>, S: PartialEq + Sig, Op: PartialEq> PartialEq<Packet<A, S, Op>> for Packet<A, S, Op>
[src]
fn eq(&self, other: &Packet<A, S, Op>) -> bool
[src]
fn ne(&self, other: &Packet<A, S, Op>) -> bool
[src]
impl<A: Actor<S>, S: Sig, Op> Serialize for Packet<A, S, Op> where
A: Serialize,
S: Serialize,
Op: Serialize,
[src]
A: Serialize,
S: Serialize,
Op: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<A: Actor<S>, S: Sig, Op> StructuralEq for Packet<A, S, Op>
[src]
impl<A: Actor<S>, S: Sig, Op> StructuralPartialEq for Packet<A, S, Op>
[src]
Auto Trait Implementations
impl<A, S, Op> RefUnwindSafe for Packet<A, S, Op> where
A: RefUnwindSafe,
Op: RefUnwindSafe,
S: RefUnwindSafe,
A: RefUnwindSafe,
Op: RefUnwindSafe,
S: RefUnwindSafe,
impl<A, S, Op> Send for Packet<A, S, Op> where
A: Send,
Op: Send,
S: Send,
A: Send,
Op: Send,
S: Send,
impl<A, S, Op> Sync for Packet<A, S, Op> where
A: Sync,
Op: Sync,
S: Sync,
A: Sync,
Op: Sync,
S: Sync,
impl<A, S, Op> Unpin for Packet<A, S, Op> where
A: Unpin,
Op: Unpin,
S: Unpin,
A: Unpin,
Op: Unpin,
S: Unpin,
impl<A, S, Op> UnwindSafe for Packet<A, S, Op> where
A: RefUnwindSafe + UnwindSafe,
Op: UnwindSafe,
S: RefUnwindSafe + UnwindSafe,
A: RefUnwindSafe + UnwindSafe,
Op: UnwindSafe,
S: RefUnwindSafe + UnwindSafe,
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,