pub struct I2pFactory;Trait Implementations§
Source§impl TransportFactory for I2pFactory
impl TransportFactory for I2pFactory
Source§fn start<'life0, 'async_trait>(
&'life0 self,
ctx: StartCtx,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Transport>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn start<'life0, 'async_trait>(
&'life0 self,
ctx: StartCtx,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Transport>, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns at once; the keeper reports Ready once both sessions exist.
fn kind(&self) -> Kind
Source§fn adopt_on_unlock(&self) -> bool
fn adopt_on_unlock(&self) -> bool
Keep a welcome-screen instance when an existing account is unlocked.
Source§fn compatible(&self, inst: &dyn Transport, cfg: &KindConfig) -> bool
fn compatible(&self, inst: &dyn Transport, cfg: &KindConfig) -> bool
Whether
inst can serve an account whose config is cfg.Auto Trait Implementations§
impl Forget for I2pFactory
impl Freeze for I2pFactory
impl Move for I2pFactory
impl RefUnwindSafe for I2pFactory
impl Send for I2pFactory
impl Sync for I2pFactory
impl Unpin for I2pFactory
impl UnsafeUnpin for I2pFactory
impl UnwindSafe for I2pFactory
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