Struct BackendBuilder

Source
pub struct BackendBuilder<CB>{
Show 23 fields pub account_config: Arc<AccountConfig>, pub ctx_builder: CB, pub check_up: BackendFeatureSource<CB::Context, dyn CheckUp>, pub add_folder: BackendFeatureSource<CB::Context, dyn AddFolder>, pub list_folders: BackendFeatureSource<CB::Context, dyn ListFolders>, pub expunge_folder: BackendFeatureSource<CB::Context, dyn ExpungeFolder>, pub purge_folder: BackendFeatureSource<CB::Context, dyn PurgeFolder>, pub delete_folder: BackendFeatureSource<CB::Context, dyn DeleteFolder>, pub get_envelope: BackendFeatureSource<CB::Context, dyn GetEnvelope>, pub list_envelopes: BackendFeatureSource<CB::Context, dyn ListEnvelopes>, pub thread_envelopes: BackendFeatureSource<CB::Context, dyn ThreadEnvelopes>, pub watch_envelopes: BackendFeatureSource<CB::Context, dyn WatchEnvelopes>, pub add_flags: BackendFeatureSource<CB::Context, dyn AddFlags>, pub set_flags: BackendFeatureSource<CB::Context, dyn SetFlags>, pub remove_flags: BackendFeatureSource<CB::Context, dyn RemoveFlags>, pub add_message: BackendFeatureSource<CB::Context, dyn AddMessage>, pub send_message: BackendFeatureSource<CB::Context, dyn SendMessage>, pub peek_messages: BackendFeatureSource<CB::Context, dyn PeekMessages>, pub get_messages: BackendFeatureSource<CB::Context, dyn GetMessages>, pub copy_messages: BackendFeatureSource<CB::Context, dyn CopyMessages>, pub move_messages: BackendFeatureSource<CB::Context, dyn MoveMessages>, pub delete_messages: BackendFeatureSource<CB::Context, dyn DeleteMessages>, pub remove_messages: BackendFeatureSource<CB::Context, dyn RemoveMessages>,
}
Expand description

The runtime backend builder.

The determination of backend’s features occurs dynamically at runtime, making the utilization of traits and generics potentially less advantageous in this context. This consideration is particularly relevant if the client interface is an interactive shell (To Be Announced).

Furthermore, this design empowers the programmatic management of features during runtime.

Alternatively, users have the option to define their custom structs and implement the same traits as those implemented by BackendBuilder. This approach allows for the creation of bespoke functionality tailored to specific requirements.

Fields§

§account_config: Arc<AccountConfig>

The account configuration.

§ctx_builder: CB

The backend context builder.

§check_up: BackendFeatureSource<CB::Context, dyn CheckUp>

The noop backend builder feature.

§add_folder: BackendFeatureSource<CB::Context, dyn AddFolder>

The add folder backend builder feature.

§list_folders: BackendFeatureSource<CB::Context, dyn ListFolders>

The list folders backend builder feature.

§expunge_folder: BackendFeatureSource<CB::Context, dyn ExpungeFolder>

The expunge folder backend builder feature.

§purge_folder: BackendFeatureSource<CB::Context, dyn PurgeFolder>

The purge folder backend builder feature.

§delete_folder: BackendFeatureSource<CB::Context, dyn DeleteFolder>

The delete folder backend builder feature.

§get_envelope: BackendFeatureSource<CB::Context, dyn GetEnvelope>

The get envelope backend builder feature.

§list_envelopes: BackendFeatureSource<CB::Context, dyn ListEnvelopes>

The list envelopes backend builder feature.

§thread_envelopes: BackendFeatureSource<CB::Context, dyn ThreadEnvelopes>

The thread envelopes backend builder feature.

§watch_envelopes: BackendFeatureSource<CB::Context, dyn WatchEnvelopes>

The watch envelopes backend builder feature.

§add_flags: BackendFeatureSource<CB::Context, dyn AddFlags>

The add flags backend builder feature.

§set_flags: BackendFeatureSource<CB::Context, dyn SetFlags>

The set flags backend builder feature.

§remove_flags: BackendFeatureSource<CB::Context, dyn RemoveFlags>

The remove flags backend builder feature.

§add_message: BackendFeatureSource<CB::Context, dyn AddMessage>

The add message backend builder feature.

§send_message: BackendFeatureSource<CB::Context, dyn SendMessage>

The send message backend builder feature.

§peek_messages: BackendFeatureSource<CB::Context, dyn PeekMessages>

The peek messages backend builder feature.

§get_messages: BackendFeatureSource<CB::Context, dyn GetMessages>

The get messages backend builder feature.

§copy_messages: BackendFeatureSource<CB::Context, dyn CopyMessages>

The copy messages backend builder feature.

§move_messages: BackendFeatureSource<CB::Context, dyn MoveMessages>

The move messages backend builder feature.

§delete_messages: BackendFeatureSource<CB::Context, dyn DeleteMessages>

The delete messages backend builder feature.

§remove_messages: BackendFeatureSource<CB::Context, dyn RemoveMessages>

The remove messages backend builder feature.

Implementations§

Source§

impl<CB> BackendBuilder<CB>

Source

pub fn get_check_up(&self) -> Option<BackendFeature<CB::Context, dyn CheckUp>>

Source

pub fn set_check_up( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn CheckUp>>, )

Set the given backend feature.

Source

pub fn with_check_up( self, f: impl Into<BackendFeatureSource<CB::Context, dyn CheckUp>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_check_up(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_check_up(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_add_folder( &self, ) -> Option<BackendFeature<CB::Context, dyn AddFolder>>

Source

pub fn set_add_folder( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn AddFolder>>, )

Set the given backend feature.

Source

pub fn with_add_folder( self, f: impl Into<BackendFeatureSource<CB::Context, dyn AddFolder>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_add_folder(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_add_folder(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_list_folders( &self, ) -> Option<BackendFeature<CB::Context, dyn ListFolders>>

Source

pub fn set_list_folders( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn ListFolders>>, )

Set the given backend feature.

Source

pub fn with_list_folders( self, f: impl Into<BackendFeatureSource<CB::Context, dyn ListFolders>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_list_folders(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_list_folders(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_expunge_folder( &self, ) -> Option<BackendFeature<CB::Context, dyn ExpungeFolder>>

Source

pub fn set_expunge_folder( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn ExpungeFolder>>, )

Set the given backend feature.

Source

pub fn with_expunge_folder( self, f: impl Into<BackendFeatureSource<CB::Context, dyn ExpungeFolder>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_expunge_folder(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_expunge_folder(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_purge_folder( &self, ) -> Option<BackendFeature<CB::Context, dyn PurgeFolder>>

Source

pub fn set_purge_folder( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn PurgeFolder>>, )

Set the given backend feature.

Source

pub fn with_purge_folder( self, f: impl Into<BackendFeatureSource<CB::Context, dyn PurgeFolder>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_purge_folder(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_purge_folder(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_delete_folder( &self, ) -> Option<BackendFeature<CB::Context, dyn DeleteFolder>>

Source

pub fn set_delete_folder( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn DeleteFolder>>, )

Set the given backend feature.

Source

pub fn with_delete_folder( self, f: impl Into<BackendFeatureSource<CB::Context, dyn DeleteFolder>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_delete_folder(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_delete_folder(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_get_envelope( &self, ) -> Option<BackendFeature<CB::Context, dyn GetEnvelope>>

Source

pub fn set_get_envelope( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn GetEnvelope>>, )

Set the given backend feature.

Source

pub fn with_get_envelope( self, f: impl Into<BackendFeatureSource<CB::Context, dyn GetEnvelope>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_get_envelope(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_get_envelope(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_list_envelopes( &self, ) -> Option<BackendFeature<CB::Context, dyn ListEnvelopes>>

Source

pub fn set_list_envelopes( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn ListEnvelopes>>, )

Set the given backend feature.

Source

pub fn with_list_envelopes( self, f: impl Into<BackendFeatureSource<CB::Context, dyn ListEnvelopes>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_list_envelopes(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_list_envelopes(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_thread_envelopes( &self, ) -> Option<BackendFeature<CB::Context, dyn ThreadEnvelopes>>

Source

pub fn set_thread_envelopes( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn ThreadEnvelopes>>, )

Set the given backend feature.

Source

pub fn with_thread_envelopes( self, f: impl Into<BackendFeatureSource<CB::Context, dyn ThreadEnvelopes>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_thread_envelopes(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_thread_envelopes(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_watch_envelopes( &self, ) -> Option<BackendFeature<CB::Context, dyn WatchEnvelopes>>

Source

pub fn set_watch_envelopes( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn WatchEnvelopes>>, )

Set the given backend feature.

Source

pub fn with_watch_envelopes( self, f: impl Into<BackendFeatureSource<CB::Context, dyn WatchEnvelopes>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_watch_envelopes(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_watch_envelopes(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_add_flags(&self) -> Option<BackendFeature<CB::Context, dyn AddFlags>>

Source

pub fn set_add_flags( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn AddFlags>>, )

Set the given backend feature.

Source

pub fn with_add_flags( self, f: impl Into<BackendFeatureSource<CB::Context, dyn AddFlags>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_add_flags(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_add_flags(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_set_flags(&self) -> Option<BackendFeature<CB::Context, dyn SetFlags>>

Source

pub fn set_set_flags( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn SetFlags>>, )

Set the given backend feature.

Source

pub fn with_set_flags( self, f: impl Into<BackendFeatureSource<CB::Context, dyn SetFlags>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_set_flags(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_set_flags(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_remove_flags( &self, ) -> Option<BackendFeature<CB::Context, dyn RemoveFlags>>

Source

pub fn set_remove_flags( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn RemoveFlags>>, )

Set the given backend feature.

Source

pub fn with_remove_flags( self, f: impl Into<BackendFeatureSource<CB::Context, dyn RemoveFlags>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_remove_flags(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_remove_flags(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_add_message( &self, ) -> Option<BackendFeature<CB::Context, dyn AddMessage>>

Source

pub fn set_add_message( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn AddMessage>>, )

Set the given backend feature.

Source

pub fn with_add_message( self, f: impl Into<BackendFeatureSource<CB::Context, dyn AddMessage>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_add_message(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_add_message(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_send_message( &self, ) -> Option<BackendFeature<CB::Context, dyn SendMessage>>

Source

pub fn set_send_message( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn SendMessage>>, )

Set the given backend feature.

Source

pub fn with_send_message( self, f: impl Into<BackendFeatureSource<CB::Context, dyn SendMessage>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_send_message(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_send_message(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_peek_messages( &self, ) -> Option<BackendFeature<CB::Context, dyn PeekMessages>>

Source

pub fn set_peek_messages( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn PeekMessages>>, )

Set the given backend feature.

Source

pub fn with_peek_messages( self, f: impl Into<BackendFeatureSource<CB::Context, dyn PeekMessages>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_peek_messages(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_peek_messages(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_get_messages( &self, ) -> Option<BackendFeature<CB::Context, dyn GetMessages>>

Source

pub fn set_get_messages( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn GetMessages>>, )

Set the given backend feature.

Source

pub fn with_get_messages( self, f: impl Into<BackendFeatureSource<CB::Context, dyn GetMessages>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_get_messages(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_get_messages(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_copy_messages( &self, ) -> Option<BackendFeature<CB::Context, dyn CopyMessages>>

Source

pub fn set_copy_messages( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn CopyMessages>>, )

Set the given backend feature.

Source

pub fn with_copy_messages( self, f: impl Into<BackendFeatureSource<CB::Context, dyn CopyMessages>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_copy_messages(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_copy_messages(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_move_messages( &self, ) -> Option<BackendFeature<CB::Context, dyn MoveMessages>>

Source

pub fn set_move_messages( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn MoveMessages>>, )

Set the given backend feature.

Source

pub fn with_move_messages( self, f: impl Into<BackendFeatureSource<CB::Context, dyn MoveMessages>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_move_messages(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_move_messages(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_delete_messages( &self, ) -> Option<BackendFeature<CB::Context, dyn DeleteMessages>>

Source

pub fn set_delete_messages( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn DeleteMessages>>, )

Set the given backend feature.

Source

pub fn with_delete_messages( self, f: impl Into<BackendFeatureSource<CB::Context, dyn DeleteMessages>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_delete_messages(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_delete_messages(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn get_remove_messages( &self, ) -> Option<BackendFeature<CB::Context, dyn RemoveMessages>>

Source

pub fn set_remove_messages( &mut self, f: impl Into<BackendFeatureSource<CB::Context, dyn RemoveMessages>>, )

Set the given backend feature.

Source

pub fn with_remove_messages( self, f: impl Into<BackendFeatureSource<CB::Context, dyn RemoveMessages>>, ) -> Self

Set the given backend feature, using the builder pattern.

Source

pub fn without_remove_messages(self) -> Self

Disable the given backend feature, using the builder pattern.

Source

pub fn with_context_remove_messages(self) -> Self

Use the given backend feature from the context builder, using the builder pattern.

Source

pub fn new(account_config: Arc<AccountConfig>, ctx_builder: CB) -> Self

Create a new backend builder using the given backend context builder.

All features are taken from the context by default.

Source

pub fn without_features(self) -> Self

Disable all features for this backend builder.

Source

pub async fn check_up(self) -> AnyResult<()>

Source

pub async fn build(self) -> AnyResult<Backend<CB::Context>>

Trait Implementations§

Source§

impl<CB> Clone for BackendBuilder<CB>

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<CB> SyncHash for BackendBuilder<CB>

Source§

fn sync_hash(&self, state: &mut DefaultHasher)

Auto Trait Implementations§

§

impl<CB> Freeze for BackendBuilder<CB>
where CB: Freeze,

§

impl<CB> !RefUnwindSafe for BackendBuilder<CB>

§

impl<CB> Send for BackendBuilder<CB>

§

impl<CB> Sync for BackendBuilder<CB>

§

impl<CB> Unpin for BackendBuilder<CB>
where CB: Unpin,

§

impl<CB> !UnwindSafe for BackendBuilder<CB>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<'p, T> Seq<'p, T> for T
where T: Clone,

Source§

type Item<'a> = &'a T where T: 'a

The item yielded by the iterator.
Source§

type Iter<'a> = Once<&'a T> where T: 'a

An iterator over the items within this container, by reference.
Source§

fn seq_iter(&self) -> <T as Seq<'p, T>>::Iter<'_>

Iterate over the elements of the container.
Source§

fn contains(&self, val: &T) -> bool
where T: PartialEq,

Check whether an item is contained within this sequence.
Source§

fn to_maybe_ref<'b>(item: <T as Seq<'p, T>>::Item<'b>) -> Maybe<T, &'p T>
where 'p: 'b,

Convert an item of the sequence into a MaybeRef.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T

Source§

impl<T> MaybeSync for T

Source§

impl<'p, T> OrderedSeq<'p, T> for T
where T: Clone,