pub enum ExhaustedAction {
FallbackToMetered,
Block,
}Expand description
Action when a flat-fee channel’s quota is exhausted.
Variants§
Trait Implementations§
Source§impl Clone for ExhaustedAction
impl Clone for ExhaustedAction
Source§fn clone(&self) -> ExhaustedAction
fn clone(&self) -> ExhaustedAction
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 ExhaustedAction
Source§impl Debug for ExhaustedAction
impl Debug for ExhaustedAction
Source§impl<'de> Deserialize<'de> for ExhaustedAction
impl<'de> Deserialize<'de> for ExhaustedAction
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 ExhaustedAction
Source§impl PartialEq for ExhaustedAction
impl PartialEq for ExhaustedAction
Source§fn eq(&self, other: &ExhaustedAction) -> bool
fn eq(&self, other: &ExhaustedAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExhaustedAction
impl Serialize for ExhaustedAction
impl StructuralPartialEq for ExhaustedAction
Auto Trait Implementations§
impl Freeze for ExhaustedAction
impl RefUnwindSafe for ExhaustedAction
impl Send for ExhaustedAction
impl Sync for ExhaustedAction
impl Unpin for ExhaustedAction
impl UnsafeUnpin for ExhaustedAction
impl UnwindSafe for ExhaustedAction
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