pub struct Resync {
pub stream: Stream,
pub channel_id: Option<ChannelId>,
}Expand description
{stream, channel_id?} of sync.resume.resync and RESYNC_REQUIRED (§10.2, §10.3).
Fields§
§stream: StreamThe stream to rebuild.
channel_id: Option<ChannelId>For a channel stream.
Trait Implementations§
impl Copy for Resync
Source§impl<'de> Deserialize<'de> for Resync
impl<'de> Deserialize<'de> for Resync
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Resync
impl StructuralPartialEq for Resync
Auto Trait Implementations§
impl Freeze for Resync
impl RefUnwindSafe for Resync
impl Send for Resync
impl Sync for Resync
impl Unpin for Resync
impl UnsafeUnpin for Resync
impl UnwindSafe for Resync
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