Skip to main content

pull_all

Function pull_all 

Source
pub async fn pull_all<T: AsyncRead + AsyncWrite + Unpin>(
    client: &mut PbapClient<T>,
    path: PhonebookPath,
    limit: Option<u16>,
    offset: u16,
) -> Result<Vec<Contact>>
Expand description

Fetches every contact in path, windowed by limit/offset.

§Errors

Returns an error if the PBAP pull fails.