pub struct IcObservationResponse { /* private fields */ }Expand description
Immutable bounded passive observation, with no outcome, Default or Serde admission.
Implementations§
Source§impl IcObservationResponse
impl IcObservationResponse
Sourcepub fn new(
input: IcObservationResponseInput,
) -> Result<Self, IcObservationResponseError>
pub fn new( input: IcObservationResponseInput, ) -> Result<Self, IcObservationResponseError>
Admit canonical target, chronological finite attempt IDs and bounded raw bytes.
§Errors
Rejects zero/excessive/reversed attempts, oversized replies and invalid principals.
Sourcepub const fn input(&self) -> &IcObservationResponseInput
pub const fn input(&self) -> &IcObservationResponseInput
Read immutable canonical claims and exact raw bytes; no mutation access.
Trait Implementations§
Source§impl Clone for IcObservationResponse
impl Clone for IcObservationResponse
Auto Trait Implementations§
impl Freeze for IcObservationResponse
impl RefUnwindSafe for IcObservationResponse
impl Send for IcObservationResponse
impl Sync for IcObservationResponse
impl Unpin for IcObservationResponse
impl UnsafeUnpin for IcObservationResponse
impl UnwindSafe for IcObservationResponse
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