pub struct LSPS2ServiceConfig {
pub promise_secret: [u8; 32],
}
Expand description
Server-side configuration options for JIT channels.
Fields§
§promise_secret: [u8; 32]
Used to calculate the promise for channel parameters supplied to clients.
Note: If this changes then old promises given out will be considered invalid.
Trait Implementations§
Source§impl Clone for LSPS2ServiceConfig
impl Clone for LSPS2ServiceConfig
Source§fn clone(&self) -> LSPS2ServiceConfig
fn clone(&self) -> LSPS2ServiceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LSPS2ServiceConfig
impl RefUnwindSafe for LSPS2ServiceConfig
impl Send for LSPS2ServiceConfig
impl Sync for LSPS2ServiceConfig
impl Unpin for LSPS2ServiceConfig
impl UnwindSafe for LSPS2ServiceConfig
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