pub struct Undeliverable {
pub session_id: u64,
pub transmission_id: u32,
}Expand description
A frame that will not go out: an unregistrable peer, a channel no longer held.
Fields§
§session_id: u64§transmission_id: u32Implementations§
Source§impl Undeliverable
impl Undeliverable
Sourcepub fn fail<P, const SLOTS: usize, const PAGES: usize>(
self,
chat: &mut ChatFacade<P, SLOTS, PAGES>,
now_ms: u64,
)where
P: TextProfile + Clone,
pub fn fail<P, const SLOTS: usize, const PAGES: usize>(
self,
chat: &mut ChatFacade<P, SLOTS, PAGES>,
now_ms: u64,
)where
P: TextProfile + Clone,
Tells the facade the frame failed.
Trait Implementations§
Source§impl Clone for Undeliverable
impl Clone for Undeliverable
Source§fn clone(&self) -> Undeliverable
fn clone(&self) -> Undeliverable
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 moreSource§impl Debug for Undeliverable
impl Debug for Undeliverable
Source§impl PartialEq for Undeliverable
impl PartialEq for Undeliverable
impl Copy for Undeliverable
impl Eq for Undeliverable
impl StructuralPartialEq for Undeliverable
Auto Trait Implementations§
impl Freeze for Undeliverable
impl RefUnwindSafe for Undeliverable
impl Send for Undeliverable
impl Sync for Undeliverable
impl Unpin for Undeliverable
impl UnwindSafe for Undeliverable
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)