pub struct RelayStream {
pub relay_slot_id: u64,
pub stream_id: u32,
pub kind: RelayPayloadKind,
pub from_peer: String,
pub to_peer: String,
pub payload: Vec<u8>,
}Fields§
§relay_slot_id: u64§stream_id: u32§kind: RelayPayloadKind§from_peer: String§to_peer: String§payload: Vec<u8>Trait Implementations§
Source§impl Clone for RelayStream
impl Clone for RelayStream
Source§fn clone(&self) -> RelayStream
fn clone(&self) -> RelayStream
Returns a duplicate 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 Debug for RelayStream
impl Debug for RelayStream
Source§impl PartialEq for RelayStream
impl PartialEq for RelayStream
impl Eq for RelayStream
impl StructuralPartialEq for RelayStream
Auto Trait Implementations§
impl Freeze for RelayStream
impl RefUnwindSafe for RelayStream
impl Send for RelayStream
impl Sync for RelayStream
impl Unpin for RelayStream
impl UnsafeUnpin for RelayStream
impl UnwindSafe for RelayStream
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