enum DisruptionsRepr {
One(Disruption),
Set {
brief: bool,
session_loss: bool,
data_interruption: bool,
connectivity_loss: bool,
},
}Expand description
A journal written before C10 holds one Disruption; it reads back as the
set holding it.
Variants§
One(Disruption)
Set
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DisruptionsRepr
impl<'de> Deserialize<'de> for DisruptionsRepr
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 From<DisruptionsRepr> for Disruptions
impl From<DisruptionsRepr> for Disruptions
Source§fn from(r: DisruptionsRepr) -> Disruptions
fn from(r: DisruptionsRepr) -> Disruptions
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DisruptionsRepr
impl RefUnwindSafe for DisruptionsRepr
impl Send for DisruptionsRepr
impl Sync for DisruptionsRepr
impl Unpin for DisruptionsRepr
impl UnsafeUnpin for DisruptionsRepr
impl UnwindSafe for DisruptionsRepr
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