Skip to main content

AddressBookService

Type Alias AddressBookService 

Source
pub type AddressBookService = Buffer<BoxService<AddressBookRequest, AddressBookResponse, BoxError>, AddressBookRequest>;
Expand description

A shared [Buffer]-wrapped service handle to the address book.

Requests are served one at a time, directly from the address book. Writes are serialised with fire-and-forget AddressBookChangeSender events by the address book mutex.

Aliased Type§

pub struct AddressBookService { /* private fields */ }

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 64 bytes