pub enum FileTransfer {
RemoteUrl,
LocalFile,
ToolFile,
Inline,
}Expand description
How a file’s bytes are reachable. The runtime never reads file bytes itself; nodes that need content ask a host-provided resolver.
Variants§
RemoteUrl
Publicly fetchable URL.
LocalFile
Host-managed storage, addressed by reference.
ToolFile
Produced by a tool; addressed by reference.
Inline
Inline data URL / base64 payload in url.
Trait Implementations§
Source§impl Clone for FileTransfer
impl Clone for FileTransfer
impl Copy for FileTransfer
Source§impl Debug for FileTransfer
impl Debug for FileTransfer
Source§impl Default for FileTransfer
impl Default for FileTransfer
Source§impl<'de> Deserialize<'de> for FileTransfer
impl<'de> Deserialize<'de> for FileTransfer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FileTransfer
Source§impl PartialEq for FileTransfer
impl PartialEq for FileTransfer
Source§impl Serialize for FileTransfer
impl Serialize for FileTransfer
impl StructuralPartialEq for FileTransfer
Auto Trait Implementations§
impl Forget for FileTransfer
impl Freeze for FileTransfer
impl Move for FileTransfer
impl RefUnwindSafe for FileTransfer
impl Send for FileTransfer
impl Sync for FileTransfer
impl Unpin for FileTransfer
impl UnsafeUnpin for FileTransfer
impl UnwindSafe for FileTransfer
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.