pub struct OutboundStream {
pub next_id: u8,
pub epoch: u16,
pub announce_reset: bool,
pub refs: RefRing,
pub edit_refs: EditRing,
pub last_active_ms: u64,
}Expand description
Outbound stream state for the local sender in one conversation.
Fields§
§next_id: u8§epoch: u16§announce_reset: boolInclude Sequence Reset on the next message sent in this conversation.
refs: RefRing§edit_refs: EditRingOur own edit IDs, mapped back to the originals they replaced, so a peer that references an edit of ours still lands on the original.
last_active_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for OutboundStream
impl Clone for OutboundStream
Source§fn clone(&self) -> OutboundStream
fn clone(&self) -> OutboundStream
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OutboundStream
impl RefUnwindSafe for OutboundStream
impl Send for OutboundStream
impl Sync for OutboundStream
impl Unpin for OutboundStream
impl UnwindSafe for OutboundStream
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)