pub struct StreamCall {
pub realm: [u8; 32],
pub procedure: String,
pub provider: [u8; 32],
pub mode: StreamMode,
pub payload: Value,
pub deadline: Duration,
pub token: Option<Vec<u8>>,
pub proofs: Vec<Vec<u8>>,
pub confidential: Confidentiality,
}Expand description
A streaming session to open: its realm and name, the provider (any trusted one when zero), the mode, the open’s payload, its deadline (the link’s default when zero), a UCAN and its proofs for a gated procedure, and how it must be kept. Its default mode is server_stream.
Fields§
§realm: [u8; 32]§procedure: String§provider: [u8; 32]§mode: StreamMode§payload: Value§deadline: Duration§token: Option<Vec<u8>>§proofs: Vec<Vec<u8>>§confidential: ConfidentialityTrait 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