Struct nip_55::nip46::Nip46OverNip55Server
source · pub struct Nip46OverNip55Server { /* private fields */ }
Expand description
Server that can handle NIP-46 requests over NIP-55.
Implementations§
source§impl Nip46OverNip55Server
impl Nip46OverNip55Server
sourcepub fn start(
uds_address: impl Into<String>,
key_manager: Arc<dyn KeyManager>,
request_approver: Arc<dyn Nip46RequestApprover>
) -> Result<Self>
pub fn start( uds_address: impl Into<String>, key_manager: Arc<dyn KeyManager>, request_approver: Arc<dyn Nip46RequestApprover> ) -> Result<Self>
Start a new NIP-46 server with NIP-55 as the trasnsport that will listen for incoming connections at the specified Unix domain socket address.
Auto Trait Implementations§
impl Freeze for Nip46OverNip55Server
impl RefUnwindSafe for Nip46OverNip55Server
impl Send for Nip46OverNip55Server
impl Sync for Nip46OverNip55Server
impl Unpin for Nip46OverNip55Server
impl UnwindSafe for Nip46OverNip55Server
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more