Sigil documentation
ReferenceRust referencesigil-tee-material

sigil-tee-material · fetch

Source declarations, signatures and documentation for fetch.

Source: sigil/node/sigil-tee-material/src/fetch.rs. SHA-256: a6bc7f4232a9dbc6ee063dad24607c214dddff8970be0fcc7f564606d05eb9e4.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

Module condition:

#[cfg(feature = "network")]

fetch::get_bytes

#[cfg(feature = "network")]
pub fn get_bytes(url: &str) -> Result<Vec<u8>, ToolError>;

Source line: 7.

fetch::get_string

#[cfg(feature = "network")]
pub fn get_string(url: &str) -> Result<String, ToolError>;

Source line: 25.

fetch::get_response_with_chain_header

#[cfg(feature = "network")]
pub fn get_response_with_chain_header(
    url: &str,
    chain_header: &str,
) -> Result<(Vec<u8>, Option<String>), ToolError>;

Source line: 30.

On this page