pub struct StreamCall {
pub realm: [u8; 32],
pub procedure: String,
pub target: [u8; 32],
pub mode: StreamMode,
pub payload: Value,
pub deadline: Duration,
pub token: Option<Vec<u8>>,
pub proofs: Vec<Vec<u8>>,
pub seal: Option<Seal>,
}Expand description
A streaming session to open: the realm and procedure, the provider it
targets, the mode, the open’s payload, how far ahead its deadline lies
(DEFAULT_STREAM_DEADLINE when zero), a UCAN and its proofs for a gated
procedure, and how it is kept, which an open must state as a call does
(see super::Call). Its default mode is server_stream.
Fields§
§realm: [u8; 32]§procedure: String§target: [u8; 32]§mode: StreamMode§payload: Value§deadline: Duration§token: Option<Vec<u8>>§proofs: Vec<Vec<u8>>§seal: Option<Seal>Trait Implementations§
Source§impl Clone for StreamCall
impl Clone for StreamCall
Source§impl Debug for StreamCall
impl Debug for StreamCall
Source§impl Default for StreamCall
impl Default for StreamCall
Source§impl PartialEq for StreamCall
impl PartialEq for StreamCall
impl StructuralPartialEq for StreamCall
Auto Trait Implementations§
impl Freeze for StreamCall
impl RefUnwindSafe for StreamCall
impl Send for StreamCall
impl Sync for StreamCall
impl Unpin for StreamCall
impl UnsafeUnpin for StreamCall
impl UnwindSafe for StreamCall
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