pub struct ShuttingDownFlags(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl ShuttingDownFlags
impl ShuttingDownFlags
pub const OUR_SHUTDOWN_SENT: u32 = 1
pub const THEIR_SHUTDOWN_SENT: u32
pub const AWAITING_PENDING_TLCS: u32
pub const DROPPING_PENDING: u32
pub const WAITING_COMMITMENT_CONFIRMATION: u32
Trait Implementations§
Source§impl Clone for ShuttingDownFlags
impl Clone for ShuttingDownFlags
Source§fn clone(&self) -> ShuttingDownFlags
fn clone(&self) -> ShuttingDownFlags
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 moreimpl Copy for ShuttingDownFlags
Source§impl Debug for ShuttingDownFlags
impl Debug for ShuttingDownFlags
Source§impl<'de> Deserialize<'de> for ShuttingDownFlags
impl<'de> Deserialize<'de> for ShuttingDownFlags
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ShuttingDownFlags
Source§impl From<ShuttingDownFlags> for u32
impl From<ShuttingDownFlags> for u32
Source§fn from(v: ShuttingDownFlags) -> Self
fn from(v: ShuttingDownFlags) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ShuttingDownFlags
impl From<u32> for ShuttingDownFlags
Source§impl JsonSchema for ShuttingDownFlags
impl JsonSchema for ShuttingDownFlags
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ShuttingDownFlags
impl PartialEq for ShuttingDownFlags
Source§impl Serialize for ShuttingDownFlags
impl Serialize for ShuttingDownFlags
impl StructuralPartialEq for ShuttingDownFlags
Auto Trait Implementations§
impl Freeze for ShuttingDownFlags
impl RefUnwindSafe for ShuttingDownFlags
impl Send for ShuttingDownFlags
impl Sync for ShuttingDownFlags
impl Unpin for ShuttingDownFlags
impl UnsafeUnpin for ShuttingDownFlags
impl UnwindSafe for ShuttingDownFlags
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