pub struct AlertState {}Implementations§
Source§impl AlertState
impl AlertState
Trait Implementations§
Source§impl Clone for AlertState
impl Clone for AlertState
Source§fn clone(&self) -> AlertState
fn clone(&self) -> AlertState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlertState
impl Debug for AlertState
Source§impl<'de> Deserialize<'de> for AlertState
impl<'de> Deserialize<'de> for AlertState
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
Source§impl Flow for AlertState
impl Flow for AlertState
Source§type Event = AlertEvent
type Event = AlertEvent
UpdateEvent - that sent from a server to a clientfn stream_type() -> StreamType
fn apply(&mut self, _event: Self::Event)
fn pack_state(&self) -> Result<PackedState, Error>
fn unpack_state(data: &PackedState) -> Result<Self, Error>
fn pack_event(delta: &Self::Event) -> Result<PackedEvent, Error>
fn unpack_event(data: &PackedEvent) -> Result<Self::Event, Error>
fn pack_action(action: &Self::Action) -> Result<PackedAction, Error>
fn unpack_action(data: &PackedAction) -> Result<Self::Action, Error>
Auto Trait Implementations§
impl Freeze for AlertState
impl RefUnwindSafe for AlertState
impl Send for AlertState
impl Sync for AlertState
impl Unpin for AlertState
impl UnsafeUnpin for AlertState
impl UnwindSafe for AlertState
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