pub enum ConfigureOutcome {
Accepted,
ReFixate(Caps),
}Variants§
Implementations§
Source§impl ConfigureOutcome
impl ConfigureOutcome
Sourcepub fn reject_refixate(self) -> Result<(), G2gError>
pub fn reject_refixate(self) -> Result<(), G2gError>
Reject a mid-negotiation renegotiation request: at startup the caps handed
to configure_pipeline are already fixated, so an element that answers
ReFixate cannot be honored and is a hard error. Collapses the
if let ConfigureOutcome::ReFixate(_) = elem.configure_pipeline(..)? { return Err(FixationFailed) } guard repeated across the runner startup paths.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConfigureOutcome
impl RefUnwindSafe for ConfigureOutcome
impl Send for ConfigureOutcome
impl Sync for ConfigureOutcome
impl Unpin for ConfigureOutcome
impl UnsafeUnpin for ConfigureOutcome
impl UnwindSafe for ConfigureOutcome
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